From ce4f00de692c22506c64fc62659f748446c65b75 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Sat, 12 Feb 2022 00:47:23 +0100 Subject: [PATCH] Reference get_version_number from the conf_xxx_version documentation Signed-off-by: Gilles Peskine --- include/mbedtls/ssl.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index a2b4cdd24..b964c4e46 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -3745,6 +3745,10 @@ void mbedtls_ssl_get_dtls_srtp_negotiation_result( const mbedtls_ssl_context *ss * * \note With DTLS, use MBEDTLS_SSL_MINOR_VERSION_3 for DTLS 1.2 * + * \note After the handhsake, you can call + * mbedtls_ssl_get_version_number() to see what version was + * negotiated. + * * \param conf SSL configuration * \param major Major version number (only MBEDTLS_SSL_MAJOR_VERSION_3 supported) * \param minor Minor version number (only MBEDTLS_SSL_MINOR_VERSION_3 supported) @@ -3760,6 +3764,10 @@ void mbedtls_ssl_conf_max_version( mbedtls_ssl_config *conf, int major, int mino * * \note With DTLS, use MBEDTLS_SSL_MINOR_VERSION_3 for DTLS 1.2 * + * \note After the handhsake, you can call + * mbedtls_ssl_get_version_number() to see what version was + * negotiated. + * * \param conf SSL configuration * \param major Major version number (only MBEDTLS_SSL_MAJOR_VERSION_3 supported) * \param minor Minor version number (only MBEDTLS_SSL_MINOR_VERSION_3 supported)