From 9b5d080a4961d11ac5f85e4624c6ae9f0c6f96c1 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 25 Dec 2006 08:03:48 +0000 Subject: [PATCH] adding missing BlockSize() --- md2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/md2.h b/md2.h index a92bf975..01af36d7 100644 --- a/md2.h +++ b/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)