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:
1f713e0
)
PR: 2632
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 26 Oct 2011 16:43:23 +0000
(16:43 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 26 Oct 2011 16:43:23 +0000
(16:43 +0000)
Submitted by: emmanuel.azencot@bull.net
Reviewed by: steve
Return -1 immediately if not affine coordinates as BN_CTX has not been
set up.
crypto/ec/ec2_smpl.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec2_smpl.c
b/crypto/ec/ec2_smpl.c
index 2028b4d3273b4f7d7cae843bd0b150117daff929..e0e59c7d8299b0ccebb7e2027a7e48b6c02c8dc7 100644
(file)
--- a/
crypto/ec/ec2_smpl.c
+++ b/
crypto/ec/ec2_smpl.c
@@
-562,7
+562,7
@@
int ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_
field_sqr = group->meth->field_sqr;
/* only support affine coordinates */
- if (!point->Z_is_one)
goto err
;
+ if (!point->Z_is_one)
return -1
;
if (ctx == NULL)
{