- Enlarged maximum size of DHM a client accepts to 512 bytes
This commit is contained in:
parent
69e095cc15
commit
55d3fd9aff
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue