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

use bn_wexpand instead of bn_expand2 (the latter is not needed here,

and it does not yet work correctly)

Submitted by: Douglas Stebila
上级 aaa384ca
......@@ -284,7 +284,7 @@ int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
if (a->top < b->top) { at = b; bt = a; }
else { at = a; bt = b; }
bn_expand2(r, at->top);
bn_wexpand(r, at->top);
for (i = 0; i < bt->top; i++)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册