Note in SSL doc'n that version bounds can be set at compile-time

This commit is contained in:
Hanno Becker 2019-06-12 15:27:23 +01:00
parent 18729aeaac
commit f1c2a33189

View File

@ -3019,6 +3019,11 @@ const char *mbedtls_ssl_get_alpn_protocol( const mbedtls_ssl_context *ssl );
* \note With DTLS, use MBEDTLS_SSL_MINOR_VERSION_2 for DTLS 1.0 and
* MBEDTLS_SSL_MINOR_VERSION_3 for DTLS 1.2
*
* \note On constrained systems, the minimum major/minor version can
* also be configured at compile-time by setting
* MBEDTLS_SSL_CONF_MIN_MAJOR_VER and
* MBEDTLS_SSL_CONF_MIN_MINOR_VER.
*
* \param conf SSL configuration
* \param major Major version number (only MBEDTLS_SSL_MAJOR_VERSION_3 supported)
* \param minor Minor version number (MBEDTLS_SSL_MINOR_VERSION_0,
@ -3039,6 +3044,11 @@ void mbedtls_ssl_conf_max_version( mbedtls_ssl_config *conf, int major, int mino
* \note With DTLS, use MBEDTLS_SSL_MINOR_VERSION_2 for DTLS 1.0 and
* MBEDTLS_SSL_MINOR_VERSION_3 for DTLS 1.2
*
* \note On constrained systems, the minimum major/minor version can
* also be configured at compile-time by setting
* MBEDTLS_SSL_CONF_MAX_MAJOR_VER and
* MBEDTLS_SSL_CONF_MAX_MINOR_VER.
*
* \param conf SSL configuration
* \param major Major version number (only MBEDTLS_SSL_MAJOR_VERSION_3 supported)
* \param minor Minor version number (MBEDTLS_SSL_MINOR_VERSION_0,