diff --git a/ChangeLog.d/alert-getter.txt b/ChangeLog.d/alert-getter.txt index 2b6afd225d..da90cf31d7 100644 --- a/ChangeLog.d/alert-getter.txt +++ b/ChangeLog.d/alert-getter.txt @@ -1,6 +1,6 @@ Features - * Add the function mbedtls_ssl_get_alert() which returns the - last received fatal error alert type for a more generic - MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE return value from - mbedtls_ssl_handshake(), mbedtls_ssl_handshake_step() or - mbedtls_ssl_read(). + * Add the function mbedtls_ssl_get_fatal_alert(), which returns the type of + the last received fatal alert. This allows callers to retrieve more + detailed information when mbedtls_ssl_handshake(), + mbedtls_ssl_handshake_step(), or mbedtls_ssl_read() returns the generic + MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE error code.