Reword return value description for mbedtls_ssl_tls13_is_kex_mode_supported

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-12-04 16:11:51 +08:00
parent bc4aab7673
commit 02e72f65da

View file

@ -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)