forked from wolfSSL/wolfssl
Fix for sniffer with SNI enabled to properly handle WOLFSSL_SUCCESS error code in ProcessClientHello
. ZD 10926
This commit is contained in:
@ -3000,6 +3000,10 @@ static int ProcessClientHello(const byte* input, int* sslBytes,
|
||||
}
|
||||
wc_UnLockMutex(&session->context->namedKeysMutex);
|
||||
}
|
||||
if (ret > 0) {
|
||||
/* make sure WOLFSSL_SUCCESS is converted to zero error code */
|
||||
ret = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user