From 08f9b3ff9e3d5c40d82aea3cadaf76dbc4f3d079 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 17 Mar 2017 21:48:52 -0400 Subject: [PATCH] Clear Coverity UNINIT_CTOR (CID 177741) This was a valid finding, but the only way to get into the codepath leaving the hash unkeyed. --- poly1305.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poly1305.h b/poly1305.h index 2ac7847c..2e70dcf3 100644 --- a/poly1305.h +++ b/poly1305.h @@ -68,7 +68,7 @@ public: CRYPTOPP_CONSTANT(DIGESTSIZE=T::BLOCKSIZE) CRYPTOPP_CONSTANT(BLOCKSIZE=T::BLOCKSIZE) - Poly1305_Base() : m_used(true) {} + Poly1305_Base() : m_idx(0), m_used(true) {} void Resynchronize (const byte *iv, int ivLength=-1); void GetNextIV (RandomNumberGenerator &rng, byte *iv);