summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2022-11-17 09:43:34 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2022-11-23 08:40:28 (GMT)
commit16148102e5e35262ac9536b1f2cf4a2370731466 (patch)
tree98a28011fed1734294de57a837db6ff73c6e6468
parent2d7863482750891e11d5baa6d612235c6b52055c (diff)
downloadlasso-main.zip
lasso-main.tar.gz
lasso-main.tar.bz2
In lasso_saml20_login_process_response_status_and_assertion does not overwirte signature_status with rc which is always at 0 (#54689)HEADmain
We are losing information in this case, like if the response was not signed.
-rw-r--r--lasso/saml-2.0/login.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c
index da2e606..cf0814d 100644
--- a/lasso/saml-2.0/login.c
+++ b/lasso/saml-2.0/login.c
@@ -1484,11 +1484,6 @@ lasso_saml20_login_process_response_status_and_assertion(LassoLogin *login)
last_assertion = assertion;
lasso_foreach_full_end();
- /* set the profile signature status only after all the signatures are
- * verified.
- */
- profile->signature_status = rc;
-
/* set the default assertion to the last one */
if (last_assertion) {
lasso_assign_gobject (login->private_data->saml2_assertion, last_assertion);