mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
ssl_tls12_server.c: Simplify TLS version check in ClientHello
The TLS server code only support TLS 1.2 thus simplify the check of the version proposed by the client. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@ -539,8 +539,6 @@ struct mbedtls_ssl_handshake_params
|
||||
{
|
||||
/* Frequently-used boolean or byte fields (placed early to take
|
||||
* advantage of smaller code size for indirect access on Arm Thumb) */
|
||||
uint8_t max_major_ver; /*!< max. major version client*/
|
||||
uint8_t max_minor_ver; /*!< max. minor version client*/
|
||||
uint8_t resume; /*!< session resume indicator*/
|
||||
uint8_t cli_exts; /*!< client extension presence*/
|
||||
|
||||
|
Reference in New Issue
Block a user