Skip to content

Commit

Permalink
Adjust comment describing mbedtls_ssl_set_hs_own_cert()
Browse files Browse the repository at this point in the history
mbedtls_ssl_set_hs_own_cert() is callable from the certificate selection
callback.

Signed-off-by: Glenn Strauss <[email protected]>
  • Loading branch information
gstrauss committed Mar 9, 2022
1 parent 0ebf24a commit 848f62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mbedtls/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
* \note Same as \c mbedtls_ssl_conf_own_cert() but for use within
* the SNI callback.
* the SNI callback or certificate selection callback.
*
* \note Passing null \c own_cert clears the certificate list for
* the current handshake.
Expand Down

0 comments on commit 848f62e

Please sign in to comment.