Commit df6c736f authored by Emilia Kasper's avatar Emilia Kasper
Browse files

NISTZ256: set Z_is_one to boolean 0/1 as is customary.



Cosmetic, no real effect.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(cherry picked from commit 4446044a)
parent c30a1b3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1327,7 +1327,7 @@ static int ecp_nistz256_points_mul(const EC_GROUP *group,
        !ecp_nistz256_set_words(&r->Z, p.p.Z)) {
        goto err;
    }
    r->Z_is_one = is_one(p.p.Z);
    r->Z_is_one = is_one(p.p.Z) & 1;

    ret = 1;