Missed a checkin.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 2 Nov 2009 22:39:20 +0000 (22:39 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 2 Nov 2009 22:39:20 +0000 (22:39 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@673 de75baf8-a10c-0410-a50a-987c0e22f00f

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>());