summaryrefslogtreecommitdiff
path: root/md2.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-14 11:41:39 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-14 11:41:39 +0000
commit4afd858ae4974f82f9997b9184bc3d8d71d29b6e (patch)
treebe3960f1424e79719ea9c5f6152df003bc1c44f3 /md2.h
parent0f5ff1a06380139d0e93ba7cda3923d2c41cd866 (diff)
downloadcryptopp-git-4afd858ae4974f82f9997b9184bc3d8d71d29b6e.tar.gz
port to Borland C++Builder 2006
Diffstat (limited to 'md2.h')
-rw-r--r--md2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/md2.h b/md2.h
index dc289222..a92bf975 100644
--- a/md2.h
+++ b/md2.h
@@ -17,7 +17,8 @@ public:
unsigned int DigestSize() const {return DIGESTSIZE;}
static const char * StaticAlgorithmName() {return "MD2";}
- enum {DIGESTSIZE = 16, BLOCKSIZE = 16};
+ CRYPTOPP_CONSTANT(DIGESTSIZE = 16)
+ CRYPTOPP_CONSTANT(BLOCKSIZE = 16)
private:
void Transform();