mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #6089 from kaleb-himes/stunnel-5_67_support_fix
Fix unused variable warning when configuring with --enable-apachehttpd
This commit is contained in:
@ -5583,6 +5583,10 @@ static int DoPreSharedKeys(WOLFSSL* ssl, const byte* input, word32 inputSz,
|
|||||||
byte binder[WC_MAX_DIGEST_SIZE];
|
byte binder[WC_MAX_DIGEST_SIZE];
|
||||||
word32 binderLen;
|
word32 binderLen;
|
||||||
|
|
||||||
|
#ifdef NO_PSK
|
||||||
|
(void) suite; /* to avoid unused var warning when not used */
|
||||||
|
#endif
|
||||||
|
|
||||||
WOLFSSL_ENTER("DoPreSharedKeys");
|
WOLFSSL_ENTER("DoPreSharedKeys");
|
||||||
|
|
||||||
ext = TLSX_Find(ssl->extensions, TLSX_PRE_SHARED_KEY);
|
ext = TLSX_Find(ssl->extensions, TLSX_PRE_SHARED_KEY);
|
||||||
|
Reference in New Issue
Block a user