warning fix for small PSK build

This commit is contained in:
JacobBarthelmeh
2024-01-22 14:23:31 -07:00
parent a77c6d1fa0
commit 10740abf9b
2 changed files with 4 additions and 0 deletions

View File

@@ -26678,7 +26678,9 @@ static int ParseCipherList(Suites* suites,
suites->setSuites = 1; suites->setSuites = 1;
} }
#ifdef NO_CERTS
(void)privateKeySz; (void)privateKeySz;
#endif
return ret; return ret;
} }

View File

@@ -40,7 +40,9 @@
typedef struct WOLFSSL_BIGNUM { typedef struct WOLFSSL_BIGNUM {
int neg; /* openssh deference */ int neg; /* openssh deference */
void *internal; /* our big num */ void *internal; /* our big num */
#ifndef NO_BIG_INT
mp_int mpi; mp_int mpi;
#endif
} WOLFSSL_BIGNUM; } WOLFSSL_BIGNUM;
#define WOLFSSL_BN_ULONG unsigned long #define WOLFSSL_BN_ULONG unsigned long