mbedtls/scripts
Gilles Peskine db09ef6d22 Include common.h instead of config.h in library source files
In library source files, include "common.h", which takes care of
including "mbedtls/config.h" (or the alternative MBEDTLS_CONFIG_FILE)
and other things that are used throughout the library.

FROM=$'#if !defined(MBEDTLS_CONFIG_FILE)\n#include "mbedtls/config.h"\n#else\n#include MBEDTLS_CONFIG_FILE\n#endif' perl -i -0777 -pe 's~\Q$ENV{FROM}~#include "common.h"~' library/*.c 3rdparty/*/library/*.c scripts/data_files/error.fmt scripts/data_files/version_features.fmt

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-07-02 11:26:57 +02:00
..
data_files Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
abi_check.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
apidoc_full.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
assemble_changelog.py Clarify extract_top_version when creating a new section 2020-03-30 11:37:26 +02:00
bump_version.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
config.pl If python3 fails, make it clear that this isn't fatal 2019-11-26 13:30:16 +01:00
config.py Merge pull request #3190 from gilles-peskine-arm/config-full-clarify-development 2020-05-04 12:29:09 +02:00
ecc-heap.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
find-mem-leak.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
footprint.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_errors.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_features.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_psa_constants.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_query_config.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_visualc_files.pl Include the library directory for the sake of 3rdparty 2020-07-02 11:26:57 +02:00
massif_max.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
memory.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
output_env.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
rename.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
rm-calloc-cast.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
tmp_ignore_makefiles.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
windows_msbuild.bat Add a simple build script for Windows with Visual Studio 2020-04-26 20:52:04 +02:00