From b5850c52166351c43eb65bc71266c6c6984dd992 Mon Sep 17 00:00:00 2001 From: TRodziewicz Date: Thu, 13 May 2021 17:11:23 +0200 Subject: [PATCH] Correction of too restrictive ssl cli minor check Signed-off-by: TRodziewicz --- library/ssl_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 3f7f68474..b0285d7ab 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c @@ -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 ) {