X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltoolingtest%2FSecurityHelperTest.h;h=81f0080fe9189d871f1e5794d52b1eb83e0b3690;hp=3b7640c8f56531d3733ce81189ba14c3067fe481;hb=49bdcd485d04fdbdef26687e17b91d187fc60120;hpb=98fb47dbfbcd8c667e20b7a224fe11501f9e6cee 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());