/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test2118
43 строки
572 B
Alhuda Khan
mbedtls: enforce verifyhost when verifypeer is disabled
09 авг 2026, 18:45
Не верифицирован
09 авг 2026, 18:45
26fdb92
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> HTTPS HTTP GET PEM certificate </keywords> </info> # Server-side <reply> </reply> # Client-side <client> <features> SSL local-http !wolfssl !rustls </features> <server> https test-localhost.nn.pem </server> <tool> lib%TESTNUMBER </tool> <name> VERIFYHOST with VERIFYPEER disabled rejects a mismatching certificate </name> <command> https://localhost:%HTTPSPORT/%TESTNUMBER </command> </client> # Verify data after the test has been "shot" <verify> <errorcode> 60 </errorcode> </verify> </testcase>