From: FdaSilvaYY Date: Fri, 19 Feb 2016 22:28:52 +0000 (+0100) Subject: GH714: missing field initialisation X-Git-Tag: OpenSSL_1_0_1s~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ee48ada8ce7a57b6ff185a0388aba1ae1a21684;p=oweals%2Fopenssl.git GH714: missing field initialisation Signed-off-by: Rich Salz Reviewed-by: Kurt Roeckx (cherry picked from commit 04f2a0b50d219aafcef2fa718d91462b587aa23d) --- diff --git a/crypto/bn/bn_recp.c b/crypto/bn/bn_recp.c index 7497ac624d..f047040efe 100644 --- a/crypto/bn/bn_recp.c +++ b/crypto/bn/bn_recp.c @@ -65,6 +65,7 @@ void BN_RECP_CTX_init(BN_RECP_CTX *recp) BN_init(&(recp->N)); BN_init(&(recp->Nr)); recp->num_bits = 0; + recp->shift = 0; recp->flags = 0; }