aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/md2
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 03:09:18 +0000
committerlloyd <[email protected]>2010-10-13 03:09:18 +0000
commit53d01738e99edfa58a061057186c2a72117ce5d7 (patch)
tree8d8abb63acbedfd46c6bdeec640f1f13475ba1f7 /src/hash/md2
parent61ed0d4d90164675396feb7c7cecdd3bc5012f91 (diff)
Remove HashFunction::HASH_BLOCK_SIZE entirely
Diffstat (limited to 'src/hash/md2')
-rw-r--r--src/hash/md2/md2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hash/md2/md2.h b/src/hash/md2/md2.h
index 86e0d3c80..84f213811 100644
--- a/src/hash/md2/md2.h
+++ b/src/hash/md2/md2.h
@@ -22,7 +22,9 @@ class BOTAN_DLL MD2 : public HashFunction
std::string name() const { return "MD2"; }
HashFunction* clone() const { return new MD2; }
- MD2() : HashFunction(16, 16), X(48), checksum(16), buffer(16)
+ size_t hash_block_size() const { return 16; }
+
+ MD2() : HashFunction(16), X(48), checksum(16), buffer(16)
{ clear(); }
private:
void add_data(const byte[], size_t);