diff --git a/src/internal.c b/src/internal.c index f509e6833..ddd2719bc 100644 --- a/src/internal.c +++ b/src/internal.c @@ -26879,7 +26879,9 @@ static int ParseCipherList(Suites* suites, suites->setSuites = 1; } +#ifdef NO_CERTS (void)privateKeySz; +#endif return ret; } diff --git a/wolfssl/openssl/bn.h b/wolfssl/openssl/bn.h index 973b85565..d5ad52bbc 100644 --- a/wolfssl/openssl/bn.h +++ b/wolfssl/openssl/bn.h @@ -40,7 +40,9 @@ typedef struct WOLFSSL_BIGNUM { int neg; /* openssh deference */ void *internal; /* our big num */ +#if !defined(NO_BIG_INT) || defined(WOLFSSL_SP_MATH) mp_int mpi; +#endif } WOLFSSL_BIGNUM; #define WOLFSSL_BN_ULONG unsigned long