summaryrefslogtreecommitdiffstats
path: root/lasso/saml-2.0/profile.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-03-02 11:57:57 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-03-02 11:57:57 +0000
commit7d950e7457c2d88f0dafb4a61b5603e58f38d366 (patch)
treeca21e1cc2c486c99a7d61674de827b1bce9cadd9 /lasso/saml-2.0/profile.c
parent0f8da3fbdd3258e2d00b3549820b4c3c5bb85b5a (diff)
downloadlasso-7d950e7457c2d88f0dafb4a61b5603e58f38d366.tar.gz
lasso-7d950e7457c2d88f0dafb4a61b5603e58f38d366.tar.xz
lasso-7d950e7457c2d88f0dafb4a61b5603e58f38d366.zip
SAML 2.0: change error code for empty ArtifactResolve response to LASSO_PROFILE_ERROR_MISSING_RESPONSE
Diffstat (limited to 'lasso/saml-2.0/profile.c')
-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 45d22074..90abee48 100644
--- a/lasso/saml-2.0/profile.c
+++ b/lasso/saml-2.0/profile.c
@@ -411,7 +411,7 @@ lasso_saml20_profile_process_artifact_response(LassoProfile *profile, const char
critical_error(LASSO_PROFILE_ERROR_INVALID_RESPONSE));
if (artifact_response->any == NULL) {
lasso_release_gobject(profile->response);
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_ARTIFACT);
+ goto_cleanup_with_rc(LASSO_PROFILE_ERROR_MISSING_RESPONSE);
}
lasso_assign_gobject(profile->response, artifact_response->any);