mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-19 13:20:50 +00:00
Adjust comment describing mbedtls_ssl_set_hs_own_cert()
mbedtls_ssl_set_hs_own_cert() is callable from the certificate selection callback. Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
This commit is contained in:
parent
0ebf24a668
commit
9bff95f051
@ -3565,7 +3565,7 @@ const unsigned char *mbedtls_ssl_get_hs_sni( mbedtls_ssl_context *ssl,
|
|||||||
* \brief Set own certificate and key for the current handshake
|
* \brief Set own certificate and key for the current handshake
|
||||||
*
|
*
|
||||||
* \note Same as \c mbedtls_ssl_conf_own_cert() but for use within
|
* \note Same as \c mbedtls_ssl_conf_own_cert() but for use within
|
||||||
* the SNI callback.
|
* the SNI callback or the certificate selection callback.
|
||||||
*
|
*
|
||||||
* \note Passing null \c own_cert clears the certificate list for
|
* \note Passing null \c own_cert clears the certificate list for
|
||||||
* the current handshake.
|
* the current handshake.
|
||||||
@ -3585,7 +3585,7 @@ int mbedtls_ssl_set_hs_own_cert( mbedtls_ssl_context *ssl,
|
|||||||
* current handshake
|
* current handshake
|
||||||
*
|
*
|
||||||
* \note Same as \c mbedtls_ssl_conf_ca_chain() but for use within
|
* \note Same as \c mbedtls_ssl_conf_ca_chain() but for use within
|
||||||
* the SNI callback.
|
* the SNI callback or the certificate selection callback.
|
||||||
*
|
*
|
||||||
* \param ssl SSL context
|
* \param ssl SSL context
|
||||||
* \param ca_chain trusted CA chain (meaning all fully trusted top-level CAs)
|
* \param ca_chain trusted CA chain (meaning all fully trusted top-level CAs)
|
||||||
@ -3599,7 +3599,7 @@ void mbedtls_ssl_set_hs_ca_chain( mbedtls_ssl_context *ssl,
|
|||||||
* \brief Set authmode for the current handshake.
|
* \brief Set authmode for the current handshake.
|
||||||
*
|
*
|
||||||
* \note Same as \c mbedtls_ssl_conf_authmode() but for use within
|
* \note Same as \c mbedtls_ssl_conf_authmode() but for use within
|
||||||
* the SNI callback.
|
* the SNI callback or the certificate selection callback.
|
||||||
*
|
*
|
||||||
* \param ssl SSL context
|
* \param ssl SSL context
|
||||||
* \param authmode MBEDTLS_SSL_VERIFY_NONE, MBEDTLS_SSL_VERIFY_OPTIONAL or
|
* \param authmode MBEDTLS_SSL_VERIFY_NONE, MBEDTLS_SSL_VERIFY_OPTIONAL or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user