diff --git a/src/bio.c b/src/bio.c index fae495fc1..8984dc7d0 100644 --- a/src/bio.c +++ b/src/bio.c @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA */ +#ifdef HAVE_CONFIG_H + #include +#endif + #include #if !defined(WOLFSSL_BIO_INCLUDED) diff --git a/src/internal.c b/src/internal.c index 44cca779c..8976489c2 100644 --- a/src/internal.c +++ b/src/internal.c @@ -6675,7 +6675,7 @@ int AllocKey(WOLFSSL* ssl, int type, void** pKey) } #if !defined(NO_RSA) || defined(HAVE_ECC) || defined(HAVE_ED25519) || \ - defined(HAVE_CURVE25519) || defined(HHAVE_ED448) || defined(HAVE_CURVE448) + defined(HAVE_CURVE25519) || defined(HAVE_ED448) || defined(HAVE_CURVE448) static int ReuseKey(WOLFSSL* ssl, int type, void* pKey) { int ret = 0; diff --git a/wolfcrypt/src/sha512.c b/wolfcrypt/src/sha512.c index d772496b0..20890e98f 100644 --- a/wolfcrypt/src/sha512.c +++ b/wolfcrypt/src/sha512.c @@ -250,7 +250,7 @@ static int InitSha512(wc_Sha512* sha512) /***** Intel AVX1/AVX2 Macro Control Structure - #if defined(HAVE_INteL_SPEEDUP) + #if defined(HAVE_INTEL_SPEEDUP) #define HAVE_INTEL_AVX1 #define HAVE_INTEL_AVX2 #endif @@ -294,7 +294,7 @@ static int InitSha512(wc_Sha512* sha512) #endif - #if defnied(HAVE_INTEL_AVX1) + #if defined(HAVE_INTEL_AVX1) int Transform_Sha512_AVX1() { Stitched Message Sched/Round @@ -302,7 +302,7 @@ static int InitSha512(wc_Sha512* sha512) #endif - #if defnied(HAVE_INTEL_AVX2) + #if defined(HAVE_INTEL_AVX2) int Transform_Sha512_AVX2() { Stitched Message Sched/Round