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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue