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:
4ff07f4
)
Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and
author
Bodo Moeller
<bodo@openssl.org>
Wed, 13 Aug 2014 15:37:19 +0000
(17:37 +0200)
committer
Bodo Moeller
<bodo@openssl.org>
Wed, 13 Aug 2014 16:09:00 +0000
(18:09 +0200)
group_order_tests (ectest.c). Also fix the EC_POINTs_mul documentation (ec.h).
Reviewed-by: emilia@openssl.org
Conflicts:
crypto/ec/ectest.c
Conflicts:
crypto/ec/ec.h
crypto/ec/ecp_smpl.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ecp_smpl.c
b/crypto/ec/ecp_smpl.c
index b2390882b96df0143c9b0bae1f66571201fec600..1dc35d72a0823a960b3fe22be02f56478ebcdc58 100644
(file)
--- a/
crypto/ec/ecp_smpl.c
+++ b/
crypto/ec/ecp_smpl.c
@@
-1676,8
+1676,8
@@
int ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT
{
for (i = 0; i < num; i++)
{
- if (prod_Z[i]
!= NULL)
-
BN_clear_free(prod_Z[i]);
+ if (prod_Z[i]
== NULL) break;
+ BN_clear_free(prod_Z[i]);
}
OPENSSL_free(prod_Z);
}