X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fcurve448%2Fcurve448utils.h;h=c92ce2eab8aa12b74727c182e82bcbcdb17759fc;hp=10902e7bedb692343092e78cf91c571d47aab32a;hb=52a9587c78a135ff200b8c92f8aad7ea1bd4de75;hpb=575d5afcf8852056c996117578bcaade7ad21fef diff --git a/crypto/ec/curve448/curve448utils.h b/crypto/ec/curve448/curve448utils.h index 10902e7bed..c92ce2eab8 100644 --- a/crypto/ec/curve448/curve448utils.h +++ b/crypto/ec/curve448/curve448utils.h @@ -62,7 +62,7 @@ typedef int64_t c448_dsword_t; # endif /* C448_TRUE = -1 so that C448_TRUE & x = x */ -static const c448_bool_t C448_TRUE = -(c448_bool_t) 1; +static const c448_bool_t C448_TRUE = 0 - (c448_bool_t)1; /* C448_FALSE = 0 so that C448_FALSE & x = 0 */ static const c448_bool_t C448_FALSE = 0;