From 68b20c00659c16b65ae2fcfc120e1407a68de04f Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 12 Feb 2018 14:27:02 +0000 Subject: More style fixes to Curve448 code based on review feedback Reviewed-by: Bernd Edlinger (Merged from https://github.com/openssl/openssl/pull/5105) --- crypto/ec/curve448/curve448utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/ec/curve448/curve448utils.h') diff --git a/crypto/ec/curve448/curve448utils.h b/crypto/ec/curve448/curve448utils.h index 2243889594..95b8c26da8 100644 --- a/crypto/ec/curve448/curve448utils.h +++ b/crypto/ec/curve448/curve448utils.h @@ -10,8 +10,8 @@ * Originally written by Mike Hamburg */ -#ifndef __C448_COMMON_H__ -# define __C448_COMMON_H__ 1 +#ifndef HEADER_CURVE448UTILS_H +# define HEADER_CURVE448UTILS_H # include @@ -58,10 +58,10 @@ typedef int64_t c448_dsword_t; # endif /* C448_TRUE = -1 so that C448_TRUE & x = x */ -static const c448_bool_t C448_TRUE = 0 - (c448_bool_t)1; +# define C448_TRUE (0 - (c448_bool_t)1) /* C448_FALSE = 0 so that C448_FALSE & x = 0 */ -static const c448_bool_t C448_FALSE = 0; +# define C448_FALSE 0 /* Another boolean type used to indicate success or failure. */ typedef enum { -- cgit v1.2.3