https://issues.shibboleth.net/jira/browse/SSPCPP-251
[shibboleth/cpp-sp.git] / shibsp / handler / impl / MetadataGenerator.cpp
index 5941a5d..c89e8ce 100644 (file)
@@ -397,7 +397,7 @@ pair<bool,long> MetadataGenerator::processMessage(
 
             // Sign while marshalling.
             vector<Signature*> sigs(1,sig);
-            prettyentity->marshall((DOMDocument*)NULL,&sigs,cred);
+            prettyentity->marshall(prettydoc,&sigs,cred);
             s << *prettyentity;
         }
         else {