Bypass xmltooling/signing bug by using a fresh document once the signature is added.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 15 Oct 2009 22:04:15 +0000 (22:04 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 15 Oct 2009 22:04:15 +0000 (22:04 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3138 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/handler/impl/MetadataGenerator.cpp

index c89e8ce..5941a5d 100644 (file)
@@ -397,7 +397,7 @@ pair<bool,long> MetadataGenerator::processMessage(
 
             // Sign while marshalling.
             vector<Signature*> sigs(1,sig);
-            prettyentity->marshall(prettydoc,&sigs,cred);
+            prettyentity->marshall((DOMDocument*)NULL,&sigs,cred);
             s << *prettyentity;
         }
         else {