提交 5965902e 编写于 作者: A Andy Polyakov

when invoking bn_*_comba[48] result->top wasn't always set correctly.

上级 7fbd8db1
......@@ -597,14 +597,14 @@ printf("BN_mul %d * %d\n",a->top,b->top);
/* if (al == 4)
{
if (bn_wexpand(rr,8) == NULL) return(0);
r->top=8;
rr->top=8;
bn_mul_comba4(rr->d,a->d,b->d);
goto end;
}
else */ if (al == 8)
{
if (bn_wexpand(rr,16) == NULL) return(0);
r->top=16;
rr->top=16;
bn_mul_comba8(rr->d,a->d,b->d);
goto end;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册