diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 5e9954462..3a8a5d7a1 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -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,