mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 07:18:49 +00:00
Relax limit on ClientHello size
This commit is contained in:
parent
609bc81a76
commit
72882b2079
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue