From 189463e25174d22d66dd35bd825b24b47ae65098 Mon Sep 17 00:00:00 2001 From: bcook Date: Tue, 5 Jul 2016 03:55:34 +0000 Subject: [PATCH] remove extra assignment of s from 1.11, fix regression test --- regress/lib/libcrypto/bn/general/bntest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/bn/general/bntest.c b/regress/lib/libcrypto/bn/general/bntest.c index 1d541778e36..e1ef1445c6b 100644 --- a/regress/lib/libcrypto/bn/general/bntest.c +++ b/regress/lib/libcrypto/bn/general/bntest.c @@ -514,7 +514,7 @@ int test_div_word(BIO *bp) { BIGNUM a, b; - BN_ULONG r, rmod, s; + BN_ULONG r, rmod, s = 0; int i; int rc = 1; @@ -536,7 +536,6 @@ test_div_word(BIO *bp) break; } - s = b.d[0]; rmod = BN_mod_word(&b, s); r = BN_div_word(&b, s); -- 2.20.1