summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-27 14:31:51 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-04-27 14:31:51 +0000
commitcbd9ade93681ec31f19a4cb730fe68ab6f78d928 (patch)
tree76fb5f27c3d41c98e57c37db05cd0b303122fa45
parenta820d7119698781050382b145ce09ce146209dfb (diff)
Update signature_status when checking signature on assertions
* lasso/saml-2.0/login.c: if signature_status is SIGNATURE_NOT_FOUND, check one on the assertion and keep the result in signature_status.
-rw-r--r--lasso/saml-2.0/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c
index 4bc8ddd1..23301da1 100644
--- a/lasso/saml-2.0/login.c
+++ b/lasso/saml-2.0/login.c
@@ -1287,7 +1287,7 @@ lasso_saml20_login_process_response_status_and_assertion(LassoLogin *login)
/* If no signature was validated on the response, check the signature at the
* assertion level */
if (profile->signature_status == LASSO_DS_ERROR_SIGNATURE_NOT_FOUND) {
- rc2 = lasso_saml20_login_check_assertion_signature(login, assertion);
+ profile->signature_status = rc2 = lasso_saml20_login_check_assertion_signature(login, assertion);
}
if (! LASSO_IS_SAML2_SUBJECT(assertion->Subject)) {