From 238f976ad1ec87539adb09f08c9d63c8726ed9e0 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 26 Apr 2022 18:13:01 +0200 Subject: [PATCH] Note that MBEDTLS_CONFIG_FILE can't be defined inside the config file Signed-off-by: Gilles Peskine --- include/mbedtls/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 41e98217e..3ffb1e2e1 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -3635,6 +3635,8 @@ * If defined, this is a header which will be included instead of * `"mbedtls/config.h"`. * This header file specifies the compile-time configuration of Mbed TLS. + * Unlike other configuration options, this one must be defined on the + * compiler command line: a definition in `config.h` would have no effect. * * This macro is expanded after an \#include directive. This is a popular but * non-standard feature of the C language, so this feature is only available