diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-05-03 10:26:12 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-05-03 10:26:12 +0000 |
| commit | 241fd7054772ff526eb8ac6fc53cf26211f39d70 (patch) | |
| tree | 0f07d3439d76e42575d86b9f838fadd27e1d0b1d | |
| parent | d0c8a32a38b5ad126350e283de27e11d57655eb4 (diff) | |
| download | lasso-241fd7054772ff526eb8ac6fc53cf26211f39d70.tar.gz lasso-241fd7054772ff526eb8ac6fc53cf26211f39d70.tar.xz lasso-241fd7054772ff526eb8ac6fc53cf26211f39d70.zip | |
*** empty log message ***
| -rw-r--r-- | lasso/Attic/protocols/authn_response.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lasso/Attic/protocols/authn_response.c b/lasso/Attic/protocols/authn_response.c index 27be5322..680b4e21 100644 --- a/lasso/Attic/protocols/authn_response.c +++ b/lasso/Attic/protocols/authn_response.c @@ -103,7 +103,7 @@ lasso_authn_response_verify_signature(LassoAuthnResponse *response, xmlChar *public_key_file, xmlChar *private_key_file) { - g_return_val_if_fail(LASSO_IS_AUTHN_RESPONSE(response), 0); + g_return_val_if_fail(LASSO_IS_AUTHN_RESPONSE(response), 1); LassoNode *status, *status_code; gboolean signature_status; @@ -132,7 +132,10 @@ lasso_authn_response_verify_signature(LassoAuthnResponse *response, LASSO_SAMLP_STATUS(status)); } - return (signature_status); + if (signature_status == 1) + return (TRUE); + else + return (FALSE); } /*****************************************************************************/ |
