NISTZ256: set Z_is_one to boolean 0/1 as is customary.
Cosmetic, no real effect. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
e22d2199e2
commit
4446044a79
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user