Add const cast for older xmlsec.
authorcantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Tue, 14 Sep 2010 02:03:47 +0000 (02:03 +0000)
committercantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Tue, 14 Sep 2010 02:03:47 +0000 (02:03 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/branches/REL_2@577 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0

saml/signature/ContentReference.cpp

index 127dbbd..a40fbc6 100644 (file)
@@ -96,7 +96,7 @@ void ContentReference::createReferences(DSIGSignature* sig)
         }
         if (!prefixes.empty()) {
             prefixes.erase(prefixes.begin() + prefixes.size() - 1);
-            c14n->setInclusiveNamespaces(prefixes.c_str());
+            c14n->setInclusiveNamespaces(const_cast<XMLCh*>(prefixes.c_str()));
         }
     }
 }