]> git.ipfire.org Git - thirdparty/curl.git/commit
sectransp: allow cipher name to be specified
authorMichael Kolechkin <mkolechkin@vmware.com>
Fri, 15 Jan 2021 20:32:04 +0000 (12:32 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2021 10:00:22 +0000 (12:00 +0200)
commitdd2bb485521c2ec713001b3a7356555dd893e2e6
treeaab9e7c63c181b5e6d743dfbdad361fb41a2213e
parentdf44138b1f7d591efea0da3250f827450fd00a65
sectransp: allow cipher name to be specified

Add parser for CURLOPT_SSL_CIPHER_LIST option for Secure Transport (ST)
back-end. Similar to NSS and GSKit back-ends, new code parses string
value and configures ST library to use those ciphers for communication.
Create cipher spec data structure and initialize the array of specs with
cipher number, name, alias, and 'weak' flag.

Mark triple-DES ciphers as 'weak', and exclude them from the default
ciphers list.

Closes #6464
lib/vtls/sectransp.c