summaryrefslogtreecommitdiff
path: root/sha.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-13 02:55:23 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-13 02:55:23 +0000
commitd6b4e54448ea4c6aa729474d7b3ecd0c757fbc68 (patch)
tree07191f76ac112cf814d9c3e0bbbe7b042092dbf8 /sha.h
parentdf9fe81ee0af73604deed3d2e459a810dba7ccd3 (diff)
downloadcryptopp-git-d6b4e54448ea4c6aa729474d7b3ecd0c757fbc68.tar.gz
fix compile on MSVC 6
Diffstat (limited to 'sha.h')
-rw-r--r--sha.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sha.h b/sha.h
index ff580f6a..679081e8 100644
--- a/sha.h
+++ b/sha.h
@@ -17,7 +17,7 @@ public:
typedef SHA1 SHA; // for backwards compatibility
//! implements the SHA-256 standard
-class CRYPTOPP_DLL SHA256 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA256, 32, CRYPTOPP_BOOL_X86||CRYPTOPP_BOOL_X64>
+class CRYPTOPP_DLL SHA256 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA256, 32, true>
{
public:
#if defined(CRYPTOPP_X86_ASM_AVAILABLE) || defined(CRYPTOPP_X64_MASM_AVAILABLE)
@@ -29,7 +29,7 @@ public:
};
//! implements the SHA-224 standard
-class CRYPTOPP_DLL SHA224 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA224, 28, CRYPTOPP_BOOL_X86||CRYPTOPP_BOOL_X64>
+class CRYPTOPP_DLL SHA224 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA224, 28, true>
{
public:
#if defined(CRYPTOPP_X86_ASM_AVAILABLE) || defined(CRYPTOPP_X64_MASM_AVAILABLE)