Document that there is now an error for dangerous inclusions

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2024-05-16 14:57:03 +02:00
parent f948e2fa52
commit 99cb19ad00

View File

@ -1,5 +1,8 @@
Changes
* Explicitly state that mbedtls/check_config.h must not be included manually.
* Warn if mbedtls/check_config.h is included manually, as this can
lead to spurious errors. Error if a *adjust*.h header is included
manually, as this can lead to silently inconsistent configurations,
potentially resulting in buffer overflows.
When migrating from Mbed TLS 2.x, if you had a custom config.h that
included check_config.h, remove this inclusion from the Mbed TLS 3.x
configuration file (renamed to mbedtls_config.h). This change was made