projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add const cast for older xmlsec.
[shibboleth/cpp-opensaml.git]
/
saml
/
signature
/
ContentReference.cpp
diff --git
a/saml/signature/ContentReference.cpp
b/saml/signature/ContentReference.cpp
index
127dbbd
..
a40fbc6
100644
(file)
--- a/
saml/signature/ContentReference.cpp
+++ b/
saml/signature/ContentReference.cpp
@@
-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()
));
}
}
}