mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-11 00:40:05 +00:00
Abort handshake if no point format in common
This commit is contained in:
parent
fd35af1579
commit
5c1f032653
@ -816,7 +816,8 @@ static int ssl_parse_supported_point_formats_ext( ssl_context *ssl,
|
||||
p++;
|
||||
}
|
||||
|
||||
return( 0 );
|
||||
SSL_DEBUG_MSG( 1, ( "no point format in common" ) );
|
||||
return( POLARSSL_ERR_SSL_BAD_HS_SERVER_HELLO );
|
||||
}
|
||||
#endif /* POLARSSL_ECDH_C || POLARSSL_ECDSA_C */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user