[xmltooling] 21/24: Santuario updates.
Etienne Dysli Metref
edm-guest at moszumanska.debian.org
Fri Jan 12 15:53:58 UTC 2018
This is an automated email from the git hooks/post-receive script.
edm-guest pushed a commit to branch master
in repository xmltooling.
commit 4ad5e3661ead88e36478269383e7e29ec73a2619
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Tue Jan 9 13:50:41 2018 -0500
Santuario updates.
---
xmltoolingtest/SignatureTest.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xmltoolingtest/SignatureTest.h b/xmltoolingtest/SignatureTest.h
index bdb59a1..452f8bb 100644
--- a/xmltoolingtest/SignatureTest.h
+++ b/xmltoolingtest/SignatureTest.h
@@ -47,9 +47,9 @@ public:
}
void createReferences(DSIGSignature* sig) {
- DSIGReference* ref=sig->createReference(m_uri);
+ DSIGReference* ref=sig->createReference(m_uri, DSIGConstants::s_unicodeStrURISHA1);
ref->appendEnvelopedSignatureTransform();
- ref->appendCanonicalizationTransform(CANON_C14NE_NOC);
+ ref->appendCanonicalizationTransform(DSIGConstants::s_unicodeStrURIEXC_C14N_NOC);
}
};
@@ -145,7 +145,7 @@ public:
"3Q03BRauYYexXQBoP/K5irtkyLWEun4tVhIePOUvl90=\n";
unsigned int len;
- len = rsaCred->signSHA1PKCS1Base64Signature(toSign, 20, &outSig[0], bufferSize, HASH_SHA1);
+ len = rsaCred->signSHA1PKCS1Base64Signature(toSign, 20, &outSig[0], bufferSize, XSECCryptoHash::HASH_SHA1);
const int diffLen = memcmp(outSig, knownGoodSig, len);
TSM_ASSERT("RSA Signature Failed", diffLen == 0);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git
More information about the Pkg-shibboleth-devel
mailing list