]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls/rustls: simplify ciphersuite skipping
authorDaniel McCarney <daniel@binaryparadox.net>
Thu, 12 Sep 2024 16:31:59 +0000 (12:31 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Sep 2024 12:11:52 +0000 (14:11 +0200)
commit6d9b40d6a4e17a84d92579c5d415dbc006b5ea19
treed409d929bd1fb03cd845ec40373a658d845129a3
parentf09adc3ad16b428e9af10ce04e833ddf0885aa12
vtls/rustls: simplify ciphersuite skipping

Now that the rustls vtls backend is using rustls 0.14 we can take
advantage of `rustls_supported_ciphersuite_protocol_version()` to skip
TLS 1.3 and TLS 1.2 ciphersuites as required without needing to
interrogate the ciphersuite names as `rustls_str`s.

Closes #14889
lib/vtls/rustls.c