GH714: missing field initialisation
authorFdaSilvaYY <fdasilvayy@gmail.com>
Fri, 19 Feb 2016 22:28:52 +0000 (23:28 +0100)
committerRich Salz <rsalz@openssl.org>
Tue, 23 Feb 2016 18:21:07 +0000 (13:21 -0500)
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
crypto/bn/bn_recp.c

index 7497ac624d94e5d411f0e5ec7e980ef5a907d689..f047040efe03bd10b5374c5cd07580e580c3aa6f 100644 (file)
@@ -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;
 }