summaryrefslogtreecommitdiff
path: root/sha.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 02:55:23 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 02:55:23 +0000
commitb0cbbcd3549667cfc8acd43dbe6819fb1ac3a511 (patch)
tree07191f76ac112cf814d9c3e0bbbe7b042092dbf8 /sha.h
parentb42f4ae645b3dcbffcdc3a49862cdcc183c1d1e1 (diff)
downloadcryptopp-b0cbbcd3549667cfc8acd43dbe6819fb1ac3a511.tar.gz
fix compile on MSVC 6
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@446 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 ff580f6..679081e 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)