Revision: 2252
Author: olavmrk
Date: Tue Apr 20 04:59:24 2010
Log: SAML2_Utils: Handle signatures of the DOMDocument element.
http://code.google.com/p/simplesamlphp/source/detail?r=2252

Modified:
 /trunk/lib/SAML2/Utils.php

=======================================
--- /trunk/lib/SAML2/Utils.php  Fri Mar  5 07:12:33 2010
+++ /trunk/lib/SAML2/Utils.php  Tue Apr 20 04:59:24 2010
@@ -59,6 +59,10 @@
                        if ($signedNode->isSameNode($root)) {
                                $rootSigned = TRUE;
                                break;
+ } elseif ($root->parentNode instanceof DOMDocument && $signedNode->isSameNode($root->ownerDocument)) {
+                               /* $root is the root element of a signed 
document. */
+                               $rootSigned = TRUE;
+                               break;
                        }
                }
                if (!$rootSigned) {

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to