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:
e22d219
)
NISTZ256: set Z_is_one to boolean 0/1 as is customary.
author
Emilia Kasper
<emilia@openssl.org>
Mon, 27 Apr 2015 13:41:52 +0000
(15:41 +0200)
committer
Emilia Kasper
<emilia@openssl.org>
Mon, 27 Apr 2015 14:49:25 +0000
(16:49 +0200)
Cosmetic, no real effect.
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/ec/ecp_nistz256.c
patch
|
blob
|
history
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;