Missed a checkin.
[shibboleth/cpp-xmltooling.git] / xmltoolingtest / SecurityHelperTest.h
index 3b7640c..81f0080 100644 (file)
@@ -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<XSECCryptoX509>());