mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Some source files had code to set mbedtls_xxx aliases when MBEDTLS_PLATFORM_C is not defined. These aliases are defined unconditionally by mbedtls/platform.h, so these macro definitions were redundant. Remove them. This commit used the following code: ``` perl -i -0777 -pe 's~#if !defined\(MBEDTLS_PLATFORM_C\)\n(#define (mbedtls|MBEDTLS)_.*\n|#include <(stdarg|stddef|stdio|stdlib|string|time)\.h>\n)*#endif.*\n~~mg' $(git grep -l -F '#if !defined(MBEDTLS_PLATFORM_C)') ``` Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com> |
||
|---|---|---|
| .. | ||
| cmake_package | ||
| cmake_package_install | ||
| cmake_subproject | ||
| benchmark.c | ||
| CMakeLists.txt | ||
| dlopen.c | ||
| dlopen_demo.sh | ||
| generate_cpp_dummy_build.sh | ||
| query_compile_time_config.c | ||
| query_config.h | ||
| selftest.c | ||
| udp_proxy.c | ||
| udp_proxy_wrapper.sh | ||
| zeroize.c | ||