]> granicus.if.org Git - curl/commit
schannel: support selecting ciphers
authorRobert Prag <Robert_Prag@symantec.com>
Sat, 2 Jun 2018 00:17:40 +0000 (17:17 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jun 2018 10:08:40 +0000 (12:08 +0200)
commit9aefbff30d280c60fc9d8cc3e0b2f19fc70a2f28
treeaad1c83faa1247afd1fc43c46ab45057696aaa58
parentf508d29f3902104018c03dfe779a2a70c1e40cc0
schannel: support selecting ciphers

Given the contstraints of SChannel, I'm exposing these as the algorithms
themselves instead; while replicating the ciphersuite as specified by
OpenSSL would have been preferable, I found no way in the SChannel API
to do so.

To use this from the commandline, you need to pass the names of contants
defining the desired algorithms. For example, curl --ciphers
"CALG_SHA1:CALG_RSA_SIGN:CALG_RSA_KEYX:CALG_AES_128:CALG_DH_EPHEM"
https://github.com The specific names come from wincrypt.h

Closes #2630
docs/CIPHERS.md
lib/vtls/schannel.c