projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert openssl code not to assume the deprecated form of BN_zero().
[openssl.git]
/
crypto
/
ec
/
ec2_smpl.c
diff --git
a/crypto/ec/ec2_smpl.c
b/crypto/ec/ec2_smpl.c
index 89e81520150062179d95ed126826d5dae6f3b954..1132c8e5afa828333202066c3d0309a583504b0e 100644
(file)
--- a/
crypto/ec/ec2_smpl.c
+++ b/
crypto/ec/ec2_smpl.c
@@
-335,7
+335,8
@@
int ec_GF2m_simple_point_copy(EC_POINT *dest, const EC_POINT *src)
int ec_GF2m_simple_point_set_to_infinity(const EC_GROUP *group, EC_POINT *point)
{
point->Z_is_one = 0;
- return (BN_zero(&point->Z));
+ BN_zero(&point->Z);
+ return 1;
}