mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 14:54:15 +01:00
- Send ClientHello with 'minimal version'
This commit is contained in:
parent
23f3680898
commit
993d11dd05
@ -52,8 +52,8 @@ static int ssl_write_client_hello( ssl_context *ssl )
|
|||||||
|
|
||||||
if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE )
|
if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE )
|
||||||
{
|
{
|
||||||
ssl->major_ver = SSL_MAJOR_VERSION_3;
|
ssl->major_ver = ssl->min_major_ver;
|
||||||
ssl->minor_ver = SSL_MINOR_VERSION_0;
|
ssl->minor_ver = ssl->min_minor_ver;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ssl->max_major_ver == 0 && ssl->max_minor_ver == 0 )
|
if( ssl->max_major_ver == 0 && ssl->max_minor_ver == 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user