Christopher Müller a8c0f87bfb tests: x509parse: add empty and truncated AuthorityKeyIdentifier tests
An empty AuthorityKeyIdentifier SEQUENCE must parse. A [0] tag without
a length must still be rejected; that case already passed before the
fix and guards against loosening the check too much.

Backport to 3.6: the dependencies use the legacy configuration macros
(MBEDTLS_PK_CAN_ECDSA_SOME, MBEDTLS_ECP_HAVE_SECP256R1,
MBEDTLS_MD_CAN_SHA256) instead of PSA_WANT_*, and the expected error is
written as a sum, like the neighbouring AuthorityKeyIdentifier tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Christopher Müller <chris@mechatronikmonkey.de>
2026-10-03 14:28:29 +02:00
..
.jenkins
configs crypto_config.h: Don't list mechanisms that are not implemented 2024-12-24 20:03:29 +01:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include tests: ssl_helpers: fix documentation of mbedtls_test_ssl_check_context_after_session_reset 2026-07-29 11:36:27 +02:00
opt-testcases Revert "Added generated files" 2026-07-07 17:26:50 +01:00
scripts Clarify that this is the "calling script" 2026-09-15 12:04:47 +02:00
src Move context verifier to a better place 2026-07-29 11:36:43 +02:00
suites tests: x509parse: add empty and truncated AuthorityKeyIdentifier tests 2026-10-03 14:28:29 +02:00
.gitignore Revert "Added generated files" 2026-07-07 17:26:50 +01:00
CMakeLists.txt Add branch specific generate_tls_handshake_tests.py file 2026-02-17 10:10:34 +01:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Revert "ssl_server2.c: DTLS: Attempt to read the response to the close notification" 2026-03-23 19:18:26 +01:00
context-info.sh Update directory-climbing path in context-info.sh 2024-07-08 15:36:48 +01:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Merge pull request #10615 from gilles-peskine-arm/generate-psa_test_wrappers-3.6 2026-02-26 13:44:15 +00:00
ssl-opt.sh Merge pull request #1641 from gilles-peskine-arm/badmac_seen_or_in_hsfraglen-fix 2026-06-22 10:30:00 +02:00