Glenn Strauss 2dfcea2b9d mbedtls_ssl_config min_tls_version, max_tls_version
Store the TLS version in tls_version instead of major, minor version num

Note: existing application use which accesses the struct member
(using MBEDTLS_PRIVATE) is not compatible on little-endian platforms,
but is compatible on big-endian platforms.  For systems supporting
only TLSv1.2, the underlying values are the same (=> 3).

New setter functions are more type-safe,
taking argument as enum mbedtls_ssl_protocol_version:
mbedtls_ssl_conf_max_tls_version()
mbedtls_ssl_conf_min_tls_version()

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-04-14 15:39:43 -04:00
..
2021-12-06 18:58:02 +00:00
2021-11-03 16:13:32 +01:00
2022-03-21 09:49:40 +01:00
2021-12-28 17:42:30 +01:00
2021-11-30 15:37:49 +00:00
2022-03-22 15:14:53 +08:00
2022-03-10 17:09:59 +01:00
2022-03-21 15:26:19 +00:00