]> git.ipfire.org Git - thirdparty/curl.git/commit
mbedTLS: implement CURLOPT_SSL_CIPHER_LIST option
authorJan Venekamp <1422460+jan2000@users.noreply.github.com>
Tue, 23 Apr 2024 15:42:45 +0000 (17:42 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 24 Apr 2024 12:30:37 +0000 (14:30 +0200)
commitfba9afebba22d577f122239b184edc90c18fd81b
tree1a516ad1b8f3ec22d7bfda9d04407fde3d63705b
parent43299e93c06b96fea8a8dc9b1c2e49c82bc21801
mbedTLS: implement CURLOPT_SSL_CIPHER_LIST option

Use a lookup list to set the cipher suites, allowing the
ciphers to be set by either openssl or IANA names.

To keep the binary size of the lookup list down we compress
each entry in the cipher list down to 2 + 6 bytes using the
C preprocessor.

Closes #13442
.github/scripts/codespell-ignore.txt
docs/libcurl/opts/CURLOPT_PROXY_SSL_CIPHER_LIST.md
docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.md
lib/Makefile.inc
lib/vtls/cipher_suite.c [new file with mode: 0644]
lib/vtls/cipher_suite.h [new file with mode: 0644]
lib/vtls/mbedtls.c
tests/data/Makefile.inc
tests/data/test3205 [new file with mode: 0644]
tests/unit/Makefile.inc
tests/unit/unit3205.c [new file with mode: 0644]