[cpp-xmltooling] branch master updated: Santuario updates.
Scott Cantor
cantor.2 at osu.edu
Tue Jan 9 13:50:45 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=4ad5e3661ead88e36478269383e7e29ec73a2619
The following commit(s) were added to refs/heads/master by this push:
new 4ad5e36 Santuario updates.
4ad5e36 is described below
commit 4ad5e3661ead88e36478269383e7e29ec73a2619
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: 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);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list