aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/md2/md2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/md2/md2.h')
-rw-r--r--src/lib/hash/md2/md2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/md2/md2.h b/src/lib/hash/md2/md2.h
index ab29a49cb..58629495a 100644
--- a/src/lib/hash/md2/md2.h
+++ b/src/lib/hash/md2/md2.h
@@ -25,7 +25,7 @@ class BOTAN_DLL MD2 final : public HashFunction
void clear() override;
- MD2() : m_X(48), m_checksum(16), m_buffer(16)
+ MD2() : m_X(48), m_checksum(16), m_buffer(16), m_position(0)
{ clear(); }
private:
void add_data(const byte[], size_t) override;