projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NISTZ256: set Z_is_one to boolean 0/1 as is customary.
[openssl.git]
/
crypto
/
ec
/
ecp_nistz256.c
diff --git
a/crypto/ec/ecp_nistz256.c
b/crypto/ec/ecp_nistz256.c
index fd4898d2279886ee63580e0699ecda9890733782..7574f2665823c562f94dc5209cdeeaaaaa1220d7 100644
(file)
--- a/
crypto/ec/ecp_nistz256.c
+++ b/
crypto/ec/ecp_nistz256.c
@@
-1346,7
+1346,7
@@
static int ecp_nistz256_points_mul(const EC_GROUP *group,
!bn_set_words(r->Z, p.p.Z, P256_LIMBS)) {
goto err;
}
- r->Z_is_one = is_one(p.p.Z);
+ r->Z_is_one = is_one(p.p.Z)
& 1
;
ret = 1;