提交 e1a8ac49 编写于 作者: B Bodo Möller

tmp2 is not used in BN_mod_mul_montgomery.

上级 0b5806b5
......@@ -77,12 +77,9 @@ int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册