Skip to content
Snippets Groups Projects
Commit 371d091f authored by Olav Morken's avatar Olav Morken
Browse files

saml: Fix typo in NameID decryption.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2621 44740490-163a-0410-bde0-09ae8108e29a
parent fd2433e5
No related branches found
No related tags found
No related merge requests found
......@@ -630,7 +630,7 @@ class sspmod_saml_Message {
/* Decrypt the NameID element if it is encrypted. */
if ($assertion->isNameIdEncrypted()) {
try {
$key = self::getDecryptionKeys($idpMetadata, $spMetadata);
$keys = self::getDecryptionKeys($idpMetadata, $spMetadata);
} catch (Exception $e) {
throw new SimpleSAML_Error_Exception('Error decrypting NameID: ' . $e->getMessage());
}
......
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