summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2008-05-21 10:10:46 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2008-05-21 10:10:46 +0000
commit7e9dec9400f0a13122cdffbbba0644c14fe031d1 (patch)
tree70d0f120c403ea28f731b4a6e2ee5bc684ab869e
parent94bc9a0840e6a5a513d9b8a1ebacc2b2ebc5aea0 (diff)
downloadlasso-7e9dec9400f0a13122cdffbbba0644c14fe031d1.tar.gz
lasso-7e9dec9400f0a13122cdffbbba0644c14fe031d1.tar.xz
lasso-7e9dec9400f0a13122cdffbbba0644c14fe031d1.zip
some comments
-rw-r--r--lasso/id-wsf-2.0/discovery.c1
-rw-r--r--lasso/saml-2.0/login.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lasso/id-wsf-2.0/discovery.c b/lasso/id-wsf-2.0/discovery.c
index ed226ebc..8c7f1e7e 100644
--- a/lasso/id-wsf-2.0/discovery.c
+++ b/lasso/id-wsf-2.0/discovery.c
@@ -85,6 +85,7 @@ lasso_idwsf2_discovery_destroy(LassoIdWsf2Discovery *discovery)
lasso_node_destroy(LASSO_NODE(discovery));
}
+/* XXX: return value must be freed by caller */
gchar*
lasso_idwsf2_discovery_metadata_register_self(LassoIdWsf2Discovery *discovery,
const gchar *service_type, const gchar *abstract,
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c
index 45534f1b..e5f6124f 100644
--- a/lasso/saml-2.0/login.c
+++ b/lasso/saml-2.0/login.c
@@ -662,6 +662,7 @@ lasso_saml20_login_assertion_add_discovery(LassoLogin *login, LassoSaml2Assertio
/* FIXME : foreach on the whole list and build on epr for each svcMD */
svcMD = svcMDs->data;
+ /* Check the metadatas contain the infos needed to build an EPR */
if (svcMD == NULL || svcMD->ServiceContext == NULL || svcMD->ServiceContext->data == NULL) {
g_list_foreach(svcMDs, (GFunc)lasso_node_destroy, NULL);
g_list_free(svcMDs);