From 2b161d2c752183323075f0dbf60f2552f59a458d Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 25 Dec 2006 08:03:48 +0000 Subject: [PATCH] adding missing BlockSize() --- trunk/c5/md2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/c5/md2.h b/trunk/c5/md2.h index a92bf975..01af36d7 100644 --- a/trunk/c5/md2.h +++ b/trunk/c5/md2.h @@ -15,6 +15,7 @@ public: void Update(const byte *input, size_t length); void TruncatedFinal(byte *hash, size_t size); unsigned int DigestSize() const {return DIGESTSIZE;} + unsigned int BlockSize() const {return BLOCKSIZE;} static const char * StaticAlgorithmName() {return "MD2";} CRYPTOPP_CONSTANT(DIGESTSIZE = 16)