From af04f6307f861416c544b8c6164cf48a9b5e3aaf Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Tue, 18 Apr 2023 07:26:59 -0400 Subject: [PATCH] Add an IPv4 mapped IPv6 test Signed-off-by: Andrzej Kurek --- tests/suites/test_suite_x509parse.data | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/suites/test_suite_x509parse.data b/tests/suites/test_suite_x509parse.data index b379959eb..1d2247d6c 100644 --- a/tests/suites/test_suite_x509parse.data +++ b/tests/suites/test_suite_x509parse.data @@ -1131,6 +1131,9 @@ X509 CRT parse CN: IPv6 invalid address IPv4-mapped #1 x509_crt_parse_cn_inet_pton:"\:\:ffff\:999.2.3.4":"":0 X509 CRT parse CN: IPv6 invalid address IPv4-mapped #2 +x509_crt_parse_cn_inet_pton:"\:\:ffff\:1111.2.3.4":"":0 + +X509 CRT parse CN: IPv6 invalid address IPv4-mapped #3 x509_crt_parse_cn_inet_pton:"\:\:1.2.3.4\:ffff":"":0 X509 CRT verification with ca callback: failure