From 02e72f65da309885c4ae8e0b816cc269e0c1eba2 Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Mon, 4 Dec 2023 16:11:51 +0800 Subject: [PATCH] Reword return value description for mbedtls_ssl_tls13_is_kex_mode_supported Signed-off-by: Pengyu Lv --- library/ssl_misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ssl_misc.h b/library/ssl_misc.h index e756c9aed6..5e2aa60964 100644 --- a/library/ssl_misc.h +++ b/library/ssl_misc.h @@ -1946,8 +1946,8 @@ static inline int mbedtls_ssl_conf_tls13_is_some_psk_enabled(mbedtls_ssl_context * \param[in] ssl SSL context * \param kex_modes_mask Mask of the key exchange modes to check * - * \return True, if at least one of the key exchange modes is supported, - * False, otherwise. + * \return Non-zero, if at least one of the key exchange modes is supported by + * the peer, otherwise \0. */ static inline int mbedtls_ssl_tls13_is_kex_mode_supported(mbedtls_ssl_context *ssl, int kex_modes_mask)