mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 16:35:41 +01:00
Relax limit on ClientHello size
This commit is contained in:
parent
609bc81a76
commit
72882b2079
@ -752,7 +752,7 @@ static int ssl_parse_client_hello( ssl_context *ssl )
|
||||
|
||||
n = ( buf[3] << 8 ) | buf[4];
|
||||
|
||||
if( n < 45 || n > 512 )
|
||||
if( n < 45 || n > 2048 )
|
||||
{
|
||||
SSL_DEBUG_MSG( 1, ( "bad client hello message" ) );
|
||||
return( POLARSSL_ERR_SSL_BAD_HS_CLIENT_HELLO );
|
||||
|
Loading…
Reference in New Issue
Block a user