From: Scott Cantor Date: Thu, 15 Oct 2009 18:51:10 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/CPPOST-36 X-Git-Tag: 2.3~16 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=d1ad8c104a2641c55e0377417b793055efcc69e1 https://issues.shibboleth.net/jira/browse/CPPOST-36 --- diff --git a/saml/signature/ContentReference.cpp b/saml/signature/ContentReference.cpp index fc71f1b..3f2674f 100644 --- 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) - 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;