summaryrefslogtreecommitdiffstats
path: root/crypto/ec/curve448/curve448utils.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-02-12 14:27:02 +0000
committerMatt Caswell <matt@openssl.org>2018-02-20 12:59:30 +0000
commit68b20c00659c16b65ae2fcfc120e1407a68de04f (patch)
tree42cc29f9e8df7f95b01998eed8034623bb2d8d0b /crypto/ec/curve448/curve448utils.h
parent04ebd4e17e1de9a5baa65113cce57817b05ae6f8 (diff)
More style fixes to Curve448 code based on review feedback
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.h8
1 files changed, 4 insertions, 4 deletions
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 <openssl/e_os2.h>
@@ -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 {