curl/tests/http
Stefan Eissing 692c7f133e
TLS: IP address verification, extend test
Change the test certificate to carry a altname 'dns:127.0.0.1' which
should *not* match in test_17_05_bad_ip_addr.

wolfSSL: since `wolfSSL_check_domain_name()` does not differentiate
between DNS and IP names, use if only for DNS names. For IP addresses,
get the peer certificate after the handshake and check that using
wolfSSL_X509_check_ip_asc().

Unfortunately, this succeeds where it should not, as wolfSSL internally
used the same check code for both cases. So, skip the test case until
wolfSSL fixes that.

Reported-by: Joshua Rogers
Closes #19252
2025-10-27 17:22:17 +01:00
..
testenv TLS: IP address verification, extend test 2025-10-27 17:22:17 +01:00
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
CMakeLists.txt pytest: use dante-server in CI 2025-07-29 15:02:30 +02:00
config.ini.in pytest: use dante-server in CI 2025-07-29 15:02:30 +02:00
conftest.py pytest: adapt for runs with openssl-1.1.1 2025-06-05 13:52:29 +02:00
Makefile.am tests: merge clients into libtests, drop duplicate code 2025-07-30 02:38:13 +02:00
requirements.txt GHA: bump pips 2025-10-24 15:02:24 +02:00
scorecard.py scorecard: add perf support on linux 2025-10-14 16:24:35 +02:00
test_01_basic.py lib: SSL connection reuse 2025-10-12 15:30:12 +02:00
test_02_download.py TLS: IP address verification, extend test 2025-10-27 17:22:17 +01:00
test_03_goaway.py vquic: drop msh3 2025-07-27 17:57:17 +02:00
test_04_stuttered.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_05_errors.py vquic: drop msh3 2025-07-27 17:57:17 +02:00
test_06_eyeballs.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_07_upload.py TLS: IP address verification, extend test 2025-10-27 17:22:17 +01:00
test_08_caddy.py tests: merge clients into libtests, drop duplicate code 2025-07-30 02:38:13 +02:00
test_09_push.py tests: merge clients into libtests, drop duplicate code 2025-07-30 02:38:13 +02:00
test_10_proxy.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_11_unix.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_12_reuse.py spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
test_13_proxy_auth.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_14_auth.py digest: fix build with disabled digest auth 2025-06-15 12:07:22 +02:00
test_15_tracing.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_16_info.py test_16: adjust timing expectations 2025-10-17 13:35:35 +02:00
test_17_ssl_use.py TLS: IP address verification, extend test 2025-10-27 17:22:17 +01:00
test_18_methods.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_19_shutdown.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_20_websockets.py websocket: improve handling of 0-len frames 2025-08-28 11:00:02 +02:00
test_30_vsftpd.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_31_vsftpds.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_32_ftps_vsftpd.py pytest: skip specific tests for no-verbose builds 2025-10-02 10:41:46 +02:00
test_40_socks.py pytest: use dante-server in CI 2025-07-29 15:02:30 +02:00