mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 21:35:35 +00:00
6710e15921
Enable MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 in the full config. There's no reason to keep it out. We weren't testing it at all on the CI. Add a missing dependency on !MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 to some test cases that either were testing that v3 extensions are only accepted in v3 certificates, or where parsing returns a different error when MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 is enabled. Add a few positive and negative test cases with MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 enabled. Fix one test case with MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 where the intended output of mbedtls_x509_crt_info had changed in 890819a597bd7a67f0b8185a4409733504f792b3 but the test case was missed because it was never executed. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>