From 8de55e4b2a13bf77e41b2355afaef92f351f53a9 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 10 Oct 2013 17:08:20 +0200 Subject: saml-2.0/profile: add warning message when unable to build an artifact response message due to an unfound artifact resolution endpoint --- lasso/saml-2.0/profile.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lasso/saml-2.0') diff --git a/lasso/saml-2.0/profile.c b/lasso/saml-2.0/profile.c index f0381ffd..c4e7f2a6 100644 --- a/lasso/saml-2.0/profile.c +++ b/lasso/saml-2.0/profile.c @@ -199,6 +199,10 @@ lasso_saml20_profile_build_artifact(LassoProvider *provider) ret = g_strdup((char*)b64_samlArt); cleanup: + if (ret == NULL) { + warning("Unable to find an artifact resolution service for entity id %s with %d", + provider->ProviderID, provider->role) + } lasso_release_string(source_succinct_id); lasso_release_xml_string(b64_samlArt); -- cgit