Fix unused variable warning when configuring with --enable-apachehttpd

This commit is contained in:
kaleb-himes
2023-02-14 14:25:57 -07:00
parent 0cedc4e1ac
commit 2719943ffd

View File

@ -5583,6 +5583,10 @@ static int DoPreSharedKeys(WOLFSSL* ssl, const byte* input, word32 inputSz,
byte binder[WC_MAX_DIGEST_SIZE];
word32 binderLen;
#ifdef NO_PSK
(void) suite; /* to avoid unused var warning when not used */
#endif
WOLFSSL_ENTER("DoPreSharedKeys");
ext = TLSX_Find(ssl->extensions, TLSX_PRE_SHARED_KEY);