mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-11 16:46:28 +00:00
- Enlarged maximum size of DHM a client accepts to 512 bytes
This commit is contained in:
@@ -395,7 +395,7 @@ static int ssl_parse_server_key_exchange( ssl_context *ssl )
|
||||
return( POLARSSL_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE );
|
||||
}
|
||||
|
||||
if( ssl->dhm_ctx.len < 64 || ssl->dhm_ctx.len > 256 )
|
||||
if( ssl->dhm_ctx.len < 64 || ssl->dhm_ctx.len > 512 )
|
||||
{
|
||||
SSL_DEBUG_MSG( 1, ( "bad server key exchange message" ) );
|
||||
return( POLARSSL_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE );
|
||||
|
||||
Reference in New Issue
Block a user