]> git.ipfire.org Git - thirdparty/curl.git/commit
revert "tests/http: configure test httpd to honor client cipher order"
authorJan Venekamp <1422460+jan2000@users.noreply.github.com>
Sun, 4 Aug 2024 15:00:30 +0000 (17:00 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 4 Aug 2024 21:03:46 +0000 (23:03 +0200)
commiteec908bb6eee9aa6d6ef9b635faa128b14f90451
treef356452ebdc60452b73a3f77f7b8b061b435ef63
parent8a95678999a47aca11b88959f269c8a18eb000d3
revert "tests/http: configure test httpd to honor client cipher order"

revert f6cb3c63 #14338

Setting SSLHonorCipherOrder to on means it honors the server cipher
order. From the documentation: "When choosing a cipher during an SSLv3
or TLSv1 handshake, normally the client's preference is used. If this
directive is enabled, the server's preference will be used instead."

Also the commit inhibits test_17_07_ssl_ciphers. The test tries to
tests if all the ciphers specified, and only those, are properly set
in curl. For that to work we need have cases where some or all ciphers
do no intersect with the cipher-set of the server. We need to be able
to assert a failed connection based on a cipher set mismatch.

That is why a restricted set of ciphers is used on the server. This
set is so chosen that it contains the well known most secure ciphers.
Except with the slower aes256 variant intentionally left out, to be
able to test above described.

As test_17_07_ssl_ciphers is currently the only test that tests the
functioning of the --ciphers and --tls13-ciphers options, it is
important that its coverage is as good as possible.

Closes #14381
tests/http/test_17_ssl_use.py
tests/http/testenv/httpd.py