Correction of too restrictive ssl cli minor check

Signed-off-by: TRodziewicz <[email protected]>
This commit is contained in:
TRodziewicz
2021-05-24 12:49:15 +02:00
parent ef73f01927
commit b5850c5216
+1 -1
View File
@@ -1952,7 +1952,7 @@ static int ssl_parse_hello_verify_request( mbedtls_ssl_context *ssl )
p += 2;
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 ||
minor_ver > ssl->conf->max_minor_ver )
{