Fix mbedtls_ssl_set_hostname documentation

This commit is contained in:
Janos Follath 2016-06-22 00:18:50 +01:00 committed by Simon Butcher
parent dd9895d810
commit efc665f80f

View File

@ -1781,10 +1781,11 @@ void mbedtls_ssl_conf_sig_hashes( mbedtls_ssl_config *conf,
#if defined(MBEDTLS_X509_CRT_PARSE_C) #if defined(MBEDTLS_X509_CRT_PARSE_C)
/** /**
* \brief Set hostname for ServerName TLS extension * \brief Set the hostname to check against the received server
* certificate. It sets the ServerName TLS extension too,
* if the extension is enabled.
* (client-side only) * (client-side only)
* *
*
* \param ssl SSL context * \param ssl SSL context
* \param hostname the server hostname * \param hostname the server hostname
* *