From 3e06beac19a7aa8696623f0769626361958a26ca Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 21 Jun 2017 10:13:20 -0700 Subject: [PATCH] Additional edge case build error with 32-bit and `small` where `int32_t` not defined due to `stdint.h` not being included. --- wolfssl/wolfcrypt/fe_operations.h | 3 ++- wolfssl/wolfcrypt/ge_operations.h | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wolfssl/wolfcrypt/fe_operations.h b/wolfssl/wolfcrypt/fe_operations.h index 043684220..0cb616e4e 100644 --- a/wolfssl/wolfcrypt/fe_operations.h +++ b/wolfssl/wolfcrypt/fe_operations.h @@ -27,9 +27,10 @@ #if defined(HAVE_CURVE25519) || defined(HAVE_ED25519) -#if defined(HAVE___UINT128_T) +#if !defined(CURVE25519_SMALL) || !defined(ED25519_SMALL) #include #endif + #include /* diff --git a/wolfssl/wolfcrypt/ge_operations.h b/wolfssl/wolfcrypt/ge_operations.h index 1da444a5e..b4f189960 100644 --- a/wolfssl/wolfcrypt/ge_operations.h +++ b/wolfssl/wolfcrypt/ge_operations.h @@ -29,9 +29,6 @@ #ifdef HAVE_ED25519 -#if defined(HAVE___UINT128_T) - #include -#endif #include /*