From 1fcd72e93ca5e16f00f48380a233790f739ac4cd Mon Sep 17 00:00:00 2001 From: TRodziewicz Date: Mon, 14 Jun 2021 11:16:06 +0200 Subject: [PATCH] change log and migr. guide fixes and _DEPRECATED_REMOVED removed Signed-off-by: TRodziewicz --- ChangeLog.d/issue4212.txt | 2 +- docs/3.0-migration-guide.d/rename_the__ret_functions.md | 8 +++++--- include/mbedtls/compat-2.x.h | 3 --- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ChangeLog.d/issue4212.txt b/ChangeLog.d/issue4212.txt index d9a7cd5a7c..4943d71c57 100644 --- a/ChangeLog.d/issue4212.txt +++ b/ChangeLog.d/issue4212.txt @@ -1,4 +1,4 @@ -Changes +API changes * Rename functions whose deprecated variants have been removed via #4029: mbedtls_ctr_drbg_update_ret -> mbedtls_ctr_drbg_update mbedtls_hmac_drbg_update_ret -> mbedtls_hmac_drbg_update diff --git a/docs/3.0-migration-guide.d/rename_the__ret_functions.md b/docs/3.0-migration-guide.d/rename_the__ret_functions.md index 513f167ff5..c6fe714299 100644 --- a/docs/3.0-migration-guide.d/rename_the__ret_functions.md +++ b/docs/3.0-migration-guide.d/rename_the__ret_functions.md @@ -1,7 +1,9 @@ -Rename mbedtls_*_ret() cryptography functions whose deprecated variants have been removed in #4029 --- +Rename mbedtls_*_ret() cryptography functions whose deprecated variants +have been removed in #4029 +-------------------------- -This change affects users who were using the `mbedtls_*_ret()` criptography functions. +This change affects users who were using the `mbedtls_*_ret()` cryptography +functions. Those functions were created based on now-deprecated functions according to a requirement that a function needs to return a value. This change brings back the diff --git a/include/mbedtls/compat-2.x.h b/include/mbedtls/compat-2.x.h index fe7aa16c38..fe07790455 100644 --- a/include/mbedtls/compat-2.x.h +++ b/include/mbedtls/compat-2.x.h @@ -22,8 +22,6 @@ * limitations under the License. */ -#if ! defined(MBEDTLS_DEPRECATED_REMOVED) - #if defined(MBEDTLS_DEPRECATED_WARNING) #warning "Including compat-2.x.h is deprecated" #endif @@ -66,4 +64,3 @@ #define mbedtls_sha512_ret mbedtls_sha512 #endif /* MBEDTLS_COMPAT2X_H */ -#endif /* MBEDTLS_DEPRECATED_REMOVED */