projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e611a
)
"EC_POINT_invert" was checking "dbl" function pointer instead of "invert".
author
Billy Brumley
<bbrumley@gmail.com>
Mon, 21 Jul 2014 21:08:23 +0000
(22:08 +0100)
committer
Matt Caswell
<matt@openssl.org>
Mon, 21 Jul 2014 21:28:09 +0000
(22:28 +0100)
PR#2569
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit
cba11f57ce161fd301a72194827327128191de7e
)
crypto/ec/ec_lib.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_lib.c
b/crypto/ec/ec_lib.c
index de9a0cc2b37eec632820acba97ae6b23dbae7b52..e2c4741b5b77ca7a0e55492deaf64ba239127bef 100644
(file)
--- a/
crypto/ec/ec_lib.c
+++ b/
crypto/ec/ec_lib.c
@@
-942,7
+942,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;