Skip to content
Snippets Groups Projects
Commit 2386d0d5 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fixed typo in modules/saml/lib/Message.php, addSign().

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3165 44740490-163a-0410-bde0-09ae8108e29a
parent eb2f4064
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ class sspmod_saml_Message { ...@@ -21,7 +21,7 @@ class sspmod_saml_Message {
$keyArray = SimpleSAML_Utilities::loadPrivateKey($srcMetadata, TRUE); $keyArray = SimpleSAML_Utilities::loadPrivateKey($srcMetadata, TRUE);
$certArray = SimpleSAML_Utilities::loadPublicKey($srcMetadata, FALSE); $certArray = SimpleSAML_Utilities::loadPublicKey($srcMetadata, FALSE);
$ = $srcMetadata->getString('signature.algorithm', XMLSecurityKey::RSA_SHA1); $algo = $srcMetadata->getString('signature.algorithm', XMLSecurityKey::RSA_SHA1);
$privateKey = new XMLSecurityKey($algo, array('type' => 'private')); $privateKey = new XMLSecurityKey($algo, array('type' => 'private'));
if (array_key_exists('password', $keyArray)) { if (array_key_exists('password', $keyArray)) {
......
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