commit | e1a8ac495b5a741b3c0a5827e2b1d9609f68d163 | [log] [tgz] |
---|---|---|
author | Bodo Möller <bodo@openssl.org> | Thu Nov 09 16:39:01 2000 +0000 |
committer | Bodo Möller <bodo@openssl.org> | Thu Nov 09 16:39:01 2000 +0000 |
tree | 3a26eedb8cdb41e796953a5f71f85bc3ee524f42 | |
parent | 0b5806b5f5f496d695a88656118b7ee9a9a28c52 [diff] [blame] |
tmp2 is not used in BN_mod_mul_montgomery.
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c index 202eec4..99e7c62 100644 --- a/crypto/bn/bn_mont.c +++ b/crypto/bn/bn_mont.c
@@ -77,12 +77,9 @@ BN_CTX_start(ctx); tmp = BN_CTX_get(ctx); - tmp2 = BN_CTX_get(ctx); - if (tmp == NULL || tmp2 == NULL) goto err; + if (tmp == NULL) goto err; bn_check_top(tmp); - bn_check_top(tmp2); - if (a == b) { if (!BN_sqr(tmp,a,ctx)) goto err;