Ciphers for SChannel
Date: Fri, 27 Apr 2018 02:07:23 +0000
I saw that adding support for the --ciphers option in schannel was on the todo list: https://curl.haxx.se/docs/todo.html#Add_support_for_the_ciphers_op
Having spent some time trying to make this work, I found that the precise request of mapping in the OpenSSL ciphersuites was infeasible, and instead opted to pass algorithm identifiers (https://msdn.microsoft.com/en-us/library/windows/desktop/aa375549(v=vs.85).aspx) through to schannel directly (as this was the most direct control that I could find for the library). I've attached a diff (taken against schannel.c in 7.59) that should serve the purpose, if this interpretation of the request is acceptable. Please me know how I may be of further assistance with this change.
- application/octet-stream attachment: schannel.diff