1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

ssl_client.c: Adapt initial version selection to TLS 1.2 case

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron
2022-02-18 17:45:10 +01:00
parent 5456a7f89c
commit 86a477f5ee
2 changed files with 26 additions and 4 deletions

View File

@ -542,6 +542,9 @@ struct mbedtls_ssl_handshake_params
uint8_t resume; /*!< session resume indicator*/
uint8_t cli_exts; /*!< client extension presence*/
/*!< Minimum minor version to be negotiated. */
unsigned char min_minor_ver;
#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
uint8_t sni_authmode; /*!< authmode from SNI callback */
#endif