mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Correction of too restrictive ssl cli minor check
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
parent
ef73f01927
commit
b5850c5216
@ -1952,7 +1952,7 @@ static int ssl_parse_hello_verify_request( mbedtls_ssl_context *ssl )
|
|||||||
p += 2;
|
p += 2;
|
||||||
|
|
||||||
if( major_ver < MBEDTLS_SSL_MAJOR_VERSION_3 ||
|
if( major_ver < MBEDTLS_SSL_MAJOR_VERSION_3 ||
|
||||||
minor_ver < MBEDTLS_SSL_MINOR_VERSION_3 ||
|
minor_ver < MBEDTLS_SSL_MINOR_VERSION_2 ||
|
||||||
major_ver > ssl->conf->max_major_ver ||
|
major_ver > ssl->conf->max_major_ver ||
|
||||||
minor_ver > ssl->conf->max_minor_ver )
|
minor_ver > ssl->conf->max_minor_ver )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user