From 2a25804fd4332594ec27f80fc3bf4bdefe15dd8c Mon Sep 17 00:00:00 2001 From: Mateusz Starzyk Date: Fri, 6 Aug 2021 13:56:54 +0200 Subject: [PATCH] Add MBEDTLS_CHECK_RETURN description to mbedtls_config. Signed-off-by: Mateusz Starzyk --- include/mbedtls/mbedtls_config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h index adc317dfe..0b4a3a6b5 100644 --- a/include/mbedtls/mbedtls_config.h +++ b/include/mbedtls/mbedtls_config.h @@ -256,6 +256,18 @@ */ //#define MBEDTLS_DEPRECATED_REMOVED +/** \def MBEDTLS_CHECK_RETURN + * + * This macro appearing at the beginning of the declaration of a function + * indicates that its return value should be checked. + * + * Default implementation resides in platform_util.h. + * You can override default implementation by defining your own. + * Custom implementation can be empty, which will disable checking + * of functions' return values. + */ +//#define MBEDTLS_CHECK_RETURN + /* \} name SECTION: System support */ /**