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:
parent
086ee0be0e
commit
90f012037d
2 changed files with 5 additions and 21 deletions
|
@ -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*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue