From 6207b1398327720a94d706e6e35bd7dc7eb8351a Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 23 Nov 2017 16:50:42 +0000 Subject: [PATCH] Remove inclusion of header files that we can't rely on due to portability Some non-portable includes are left because they are already suitably guarded. Reviewed-by: Bernd Edlinger (Merged from https://github.com/openssl/openssl/pull/5105) --- crypto/ec/curve448/arch_x86_64/arch_intrinsics.h | 2 +- crypto/ec/curve448/curve448utils.h | 2 -- crypto/ec/curve448/word.h | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/crypto/ec/curve448/arch_x86_64/arch_intrinsics.h b/crypto/ec/curve448/arch_x86_64/arch_intrinsics.h index 8fcf2c8dd4..9ecaefc73a 100644 --- a/crypto/ec/curve448/arch_x86_64/arch_intrinsics.h +++ b/crypto/ec/curve448/arch_x86_64/arch_intrinsics.h @@ -7,7 +7,7 @@ #define ARCH_WORD_BITS 64 -#include +#include /* FUTURE: autogenerate */ static __inline__ __uint128_t widemul(const uint64_t *a, const uint64_t *b) { diff --git a/crypto/ec/curve448/curve448utils.h b/crypto/ec/curve448/curve448utils.h index 2487068856..a76754a012 100644 --- a/crypto/ec/curve448/curve448utils.h +++ b/crypto/ec/curve448/curve448utils.h @@ -12,8 +12,6 @@ #ifndef __DECAF_COMMON_H__ #define __DECAF_COMMON_H__ 1 -#include -#include #include #ifdef __cplusplus diff --git a/crypto/ec/curve448/word.h b/crypto/ec/curve448/word.h index 39ea949861..a73e910933 100644 --- a/crypto/ec/curve448/word.h +++ b/crypto/ec/curve448/word.h @@ -8,7 +8,7 @@ #include #include -#include +#include #include "arch_intrinsics.h" #include "curve448utils.h" @@ -24,8 +24,6 @@ #include "portable_endian.h" #include -#include -#include #if defined(__ARM_NEON__) #include -- 2.25.1