summaryrefslogtreecommitdiff
path: root/md2.h
diff options
context:
space:
mode:
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 dc28922..a92bf97 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();