Merge pull request #6089 from kaleb-himes/stunnel-5_67_support_fix

Fix unused variable warning when configuring with --enable-apachehttpd
pull/6094/head
David Garske 2023-02-15 08:39:30 -08:00 committed by GitHub
commit 6ea3fe2f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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);