Skip to content
Snippets Groups Projects
Commit 921628cb authored by Jaime Pérez's avatar Jaime Pérez
Browse files

bugfix: Make sure to properly check the output of RobRichards\XMLSecDSig::verify().

parent 01b550f3
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ class SimpleSAML_XML_Validator { ...@@ -115,7 +115,7 @@ class SimpleSAML_XML_Validator {
} }
// Check the signature // Check the signature
if (! $objXMLSecDSig->verify($objKey)) { if ($objXMLSecDSig->verify($objKey) !== 1) {
throw new Exception("Unable to validate Signature"); throw new Exception("Unable to validate Signature");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment