Skip to content

Commit c09fa2a

Browse files
authored
Add more detail to error message
1 parent 4af32aa commit c09fa2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utils/Security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public static function validateSignature(array $info, XMLSecurityKey $key): void
210210

211211
/* Check the signature. */
212212
if ($objXMLSecDSig->verify($key) !== 1) {
213-
throw new Exception("Unable to validate Signature");
213+
throw new Exception("Unable to validate Signature; " . openssl_error_string());
214214
}
215215
}
216216

0 commit comments

Comments
 (0)