X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsignature%2FContentReference.cpp;h=e430fb46bd68517f9c2224d5249a324c5bc4a3fb;hp=320daac0cd7886758e1488524871b700352360d5;hb=de5d798e5a116d657cfeff7d276648ec595af1d2;hpb=e54deb7f338686e0a62dad2ac79caa9381e46362 diff --git a/saml/signature/ContentReference.cpp b/saml/signature/ContentReference.cpp index 320daac..e430fb4 100644 --- a/saml/signature/ContentReference.cpp +++ b/saml/signature/ContentReference.cpp @@ -69,6 +69,7 @@ ContentReference::~ContentReference() void ContentReference::createReferences(DSIGSignature* sig) { DSIGReference* ref = nullptr; + sig->setIdByAttributeName(false); const XMLCh* id=m_signableObject.getXMLID(); if (!id || !*id) ref=sig->createReference(&chNull, m_digest ? m_digest : DSIGConstants::s_unicodeStrURISHA1); // whole doc reference