提交 cba11f57 编写于 作者: B Billy Brumley 提交者: Matt Caswell

"EC_POINT_invert" was checking "dbl" function pointer instead of "invert".

PR#2569
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 62352b81
......@@ -945,7 +945,7 @@ int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *
int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx)
{
if (group->meth->dbl == 0)
if (group->meth->invert == 0)
{
ECerr(EC_F_EC_POINT_INVERT, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册