summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2016-07-05 03:55:35 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2016-07-05 03:55:35 +0000
commit0e08bb715496a803d0b1e21fa6ac1ae21b04404f (patch)
tree3433136d206fd4170bab24497dd773413b445729 /regress/lib
parente8e94b5092b0e4e5b4bd6ffdcea07a5d65b351b1 (diff)
remove extra assignment of s from 1.11, fix regression test
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/bn/general/bntest.c3
1 files changed, 1 insertions, 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);