From: Scott Cantor Date: Mon, 2 Nov 2009 22:39:20 +0000 (+0000) Subject: Missed a checkin. X-Git-Tag: 1.3~3 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=49bdcd485d04fdbdef26687e17b91d187fc60120 Missed a checkin. --- diff --git a/xmltoolingtest/SecurityHelperTest.h b/xmltoolingtest/SecurityHelperTest.h index 3b7640c..81f0080 100644 --- a/xmltoolingtest/SecurityHelperTest.h +++ b/xmltoolingtest/SecurityHelperTest.h @@ -93,12 +93,12 @@ public: TSM_ASSERT_EQUALS( "Certificate and its key produced different hashed encodings", - SecurityHelper::getDEREncoding(*certs[2], true), SecurityHelper::getDEREncoding(*key1.get(), true) + SecurityHelper::getDEREncoding(*certs[2], "SHA1"), SecurityHelper::getDEREncoding(*key1.get(), "SHA1") ); TSM_ASSERT_EQUALS( "Certificate and its key produced different hashed encodings", - SecurityHelper::getDEREncoding(*certs[2], true, true, "SHA256"), SecurityHelper::getDEREncoding(*key1.get(), true, true, "SHA256") + SecurityHelper::getDEREncoding(*certs[2], "SHA256"), SecurityHelper::getDEREncoding(*key1.get(), "SHA256") ); for_each(certs.begin(), certs.end(), xmltooling::cleanup());