From 0ebf24a66803fdc858cbb96ba8e50bf96026e628 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Mon, 24 Jan 2022 18:30:13 -0500 Subject: [PATCH] Adjust comment describing mbedtls_ssl_conf_sni() Signed-off-by: Glenn Strauss --- include/mbedtls/ssl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 738f07bf5..aa6a21209 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -3624,8 +3624,7 @@ void mbedtls_ssl_set_hs_authmode( mbedtls_ssl_context *ssl, * mbedtls_ssl_set_hs_ca_chain() as well as the client * authentication mode with \c mbedtls_ssl_set_hs_authmode(), * then must return 0. If no matching name is found, the - * callback must either set a default cert, or - * return non-zero to abort the handshake at this point. + * callback may return non-zero to abort the handshake. * * \param conf SSL configuration * \param f_sni verification function