aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-09 06:10:22 -0500
committerJack Lloyd <[email protected]>2016-02-09 06:10:22 -0500
commit8adb9e27f10c50c76d5b42fb1ccc6b5cd3224026 (patch)
tree7aa564d6c828150559174bc7eb57f477e52a513d /src
parent05d4036aa0f7fd48a99964cefa3543be55df29eb (diff)
Don't leave member variables uninitialized. Found by Coverity scanner.
Diffstat (limited to 'src')
-rw-r--r--src/lib/pubkey/mce/mceliece.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/mce/mceliece.h b/src/lib/pubkey/mce/mceliece.h
index ead326230..b9e54ec0e 100644
--- a/src/lib/pubkey/mce/mceliece.h
+++ b/src/lib/pubkey/mce/mceliece.h
@@ -59,7 +59,7 @@ class BOTAN_DLL McEliece_PublicKey : public virtual Public_Key
bool operator!=(const McEliece_PublicKey& other) const { return !(*this == other); }
protected:
- McEliece_PublicKey() {}
+ McEliece_PublicKey() : m_t(0), m_code_length(0) {}
std::vector<byte> m_public_matrix;
u32bit m_t;