mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
TLS 1.3 ServerHello additional fix for PR4439 in Static RSA case
This commit is contained in:
@ -3486,6 +3486,8 @@ int DoTls13ServerHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
if (!ssl->options.downgrade)
|
if (!ssl->options.downgrade)
|
||||||
return BUFFER_ERROR;
|
return BUFFER_ERROR;
|
||||||
#ifndef WOLFSSL_NO_TLS12
|
#ifndef WOLFSSL_NO_TLS12
|
||||||
|
/* Force client hello version 1.2 to work for static RSA. */
|
||||||
|
ssl->chVersion.minor = TLSv1_2_MINOR;
|
||||||
ssl->version.minor = TLSv1_2_MINOR;
|
ssl->version.minor = TLSv1_2_MINOR;
|
||||||
#endif
|
#endif
|
||||||
ssl->options.haveEMS = 0;
|
ssl->options.haveEMS = 0;
|
||||||
|
Reference in New Issue
Block a user