summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-01-30 14:00:54 +0000
committerweidai <weidai11@users.noreply.github.com>2006-01-30 14:00:54 +0000
commit8d54ba7ff24ec5e02f86a1fc5d9cac35ec9c6a52 (patch)
tree9662e5d21141236ab1f8e578f4782af533d868bf /fipstest.cpp
parent58f6207c4d1743b9dba82d2dfe7ecb9671531594 (diff)
downloadcryptopp-git-8d54ba7ff24ec5e02f86a1fc5d9cac35ec9c6a52.tar.gz
upgrade project files to MSVC 2005 and add x64 platform
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/fipstest.cpp b/fipstest.cpp
index e5f0859c..bc86fe2e 100644
--- a/fipstest.cpp
+++ b/fipstest.cpp
@@ -496,7 +496,9 @@ done:
#ifdef CRYPTOPP_WIN32_AVAILABLE
-static const byte s_moduleMac[CryptoPP::HMAC<CryptoPP::SHA1>::DIGESTSIZE] = "reserved for mac";
+// use a random dummy string here, to be searched/replaced later with the real MAC
+static const byte s_moduleMac[CryptoPP::HMAC<CryptoPP::SHA1>::DIGESTSIZE] = CRYPTOPP_DUMMY_DLL_MAC;
+CRYPTOPP_COMPILE_ASSERT(sizeof(s_moduleMac) == CryptoPP::SHA1::DIGESTSIZE);
static HMODULE s_hModule = NULL;
void DoDllPowerUpSelfTest()