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

XML/Validator: Fix warning.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@948 44740490-163a-0410-bde0-09ae8108e29a
parent 32bddb20
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ class SimpleSAML_XML_Validator { ...@@ -86,7 +86,7 @@ class SimpleSAML_XML_Validator {
} }
/* Load the key data. */ /* Load the key data. */
if (array_key_exists('PEM', $publickey)) { if ($publickey !== FALSE && array_key_exists('PEM', $publickey)) {
/* We have PEM data for the public key / certificate. */ /* We have PEM data for the public key / certificate. */
$objKey->loadKey($publickey['PEM']); $objKey->loadKey($publickey['PEM']);
} else { } else {
......
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