From d1ad8c104a2641c55e0377417b793055efcc69e1 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Thu, 15 Oct 2009 18:51:10 +0000 Subject: [PATCH] https://issues.shibboleth.net/jira/browse/CPPOST-36 --- saml/signature/ContentReference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.1.4