From b1982728a51fbaa7b912834d1bfc01b5efd1bc18 Mon Sep 17 00:00:00 2001 From: Mateusz Starzyk Date: Thu, 27 May 2021 14:46:48 +0200 Subject: [PATCH] Document MBEDTLS_ALLOW_PRIVATE_ACCESS inside test/helpers.h. Signed-off-by: Mateusz Starzyk --- tests/include/test/helpers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/include/test/helpers.h b/tests/include/test/helpers.h index 0f82a90406..a1098c5558 100644 --- a/tests/include/test/helpers.h +++ b/tests/include/test/helpers.h @@ -25,6 +25,9 @@ #ifndef TEST_HELPERS_H #define TEST_HELPERS_H +/* Most fields of publicly available structs are private and are wrapped with + * MBEDTLS_PRIVATE macro. This define allows tests to access the private fields + * directly (without using the MBEDTLS_PRIVATE wrapper). */ #define MBEDTLS_ALLOW_PRIVATE_ACCESS #if !defined(MBEDTLS_CONFIG_FILE)