summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/saml-2.0/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/saml-2.0/profile.c b/lasso/saml-2.0/profile.c
index 29a4ba85..3644053a 100644
--- a/lasso/saml-2.0/profile.c
+++ b/lasso/saml-2.0/profile.c
@@ -323,7 +323,7 @@ lasso_saml20_profile_set_session_from_dump(LassoProfile *profile)
}
if (assertions == NULL)
- return -1;
+ return LASSO_ERROR_UNDEFINED;
for (i = 0; i < assertions->len; ++i) {
assertion = g_ptr_array_index(assertions, i);