projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8a4f02
)
https://issues.shibboleth.net/jira/browse/CPPOST-36
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 15 Oct 2009 18:51:10 +0000
(18:51 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 15 Oct 2009 18:51:10 +0000
(18:51 +0000)
saml/signature/ContentReference.cpp
patch
|
blob
|
history
diff --git
a/saml/signature/ContentReference.cpp
b/saml/signature/ContentReference.cpp
index
fc71f1b
..
3f2674f
100644
(file)
--- a/
saml/signature/ContentReference.cpp
+++ b/
saml/signature/ContentReference.cpp
@@
-48,7
+48,7
@@
void ContentReference::createReferences(DSIGSignature* sig)
DSIGReference* ref=NULL;
const XMLCh* id=m_signableObject.getXMLID();
if (!id || !*id)
DSIGReference* ref=NULL;
const XMLCh* id=m_signableObject.getXMLID();
if (!id || !*id)
- ref=sig->createReference(&chNull); // whole doc reference
+ ref=sig->createReference(&chNull
, m_digest ? m_digest : DSIGConstants::s_unicodeStrURISHA1
); // whole doc reference
else {
XMLCh* buf=new XMLCh[XMLString::stringLen(id) + 2];
buf[0]=chPound;
else {
XMLCh* buf=new XMLCh[XMLString::stringLen(id) + 2];
buf[0]=chPound;