diff options
author | Matt Caswell <matt@openssl.org> | 2017-12-12 14:17:40 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-02-20 12:59:30 +0000 |
commit | 52a9587c78a135ff200b8c92f8aad7ea1bd4de75 (patch) | |
tree | 431237c740b1d09e0b5f1005094f3d6521a7cbaf /crypto/ec/curve448/curve448utils.h | |
parent | 575d5afcf8852056c996117578bcaade7ad21fef (diff) |
Fix build errors for Curve448 code on Windows (VC-WIN32 and VC-WIN64A)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'crypto/ec/curve448/curve448utils.h')
-rw-r--r-- | crypto/ec/curve448/curve448utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |