Skip to content
Snippets Groups Projects
Commit b596eb63 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Add a log warning when signature in document do not have a valid message digest

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1215 44740490-163a-0410-bde0-09ae8108e29a
parent 784dd9bd
No related branches found
No related tags found
No related merge requests found
...@@ -331,6 +331,8 @@ class SimpleSAML_Metadata_SAMLParser { ...@@ -331,6 +331,8 @@ class SimpleSAML_Metadata_SAMLParser {
try { try {
$entitiesValidator = new SimpleSAML_XML_Validator($element, 'ID'); $entitiesValidator = new SimpleSAML_XML_Validator($element, 'ID');
} catch(Exception $e) { } catch(Exception $e) {
SimpleSAML_Logger::warning('SAMLParser: Error creating XML Signature validator for XML document: ' .
$e->getMessage());
$entitiesValidator = NULL; $entitiesValidator = NULL;
} }
} }
......
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