1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-07 06:42:56 +03:00

Merge pull request #7013 from gilles-peskine-arm/build-without-certs-2.28.2

2.28 only: Fix the build without MBEDTLS_CERTS_C
This commit is contained in:
Dave Rodgman
2023-02-06 11:39:01 +00:00
committed by GitHub
8 changed files with 58 additions and 32 deletions

View File

@@ -1040,6 +1040,18 @@ component_test_no_renegotiation () {
tests/ssl-opt.sh
}
component_test_no_certs () {
msg "build: full minus MBEDTLS_CERTS_C"
scripts/config.py full
scripts/config.py unset MBEDTLS_CERTS_C
# Quick build+test (we're checking for stray uses of the test certs,
# not expecting their absence to lead to subtle problems).
make
msg "test: full minus MBEDTLS_CERTS_C - main suites"
make test
}
component_test_no_pem_no_fs () {
msg "build: Default + !MBEDTLS_PEM_PARSE_C + !MBEDTLS_FS_IO (ASan build)"
scripts/config.py unset MBEDTLS_PEM_PARSE_C