Skip to content

Commit

Permalink
Fix for issue #81.
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-tim authored and jaimeperez committed Dec 2, 2016
1 parent fbc457e commit 3f268c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public static function validateSignature(array $info, XMLSecurityKey $key)
}

/* Check the signature. */
if (! $objXMLSecDSig->verify($key)) {
if ($objXMLSecDSig->verify($key) !== 1) {
throw new Exception("Unable to validate Signature");
}
}
Expand Down

0 comments on commit 3f268c2

Please sign in to comment.