diff options
author | georgeok <giorgos.n.oikonomou@gmail.com> | 2019-02-24 18:20:57 +0000 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-02-25 01:38:35 -0500 |
commit | 531b7ad43a7804d6fdaece570fc39b954373a4a9 (patch) | |
tree | 0ea27b1816aead3cc0e12f7fcebc4b2c713e1367 /lib | |
parent | aa7b813ad1bfb4e72e367fb99c61c6e680d5a4b8 (diff) | |
download | curl-531b7ad43a7804d6fdaece570fc39b954373a4a9.tar.gz |
schannel: support CALG_ECDH_EPHEM algorithm
Add support for Ephemeral elliptic curve Diffie-Hellman key exchange
algorithm option when selecting ciphers. This became available on the
Win10 SDK.
Closes https://github.com/curl/curl/pull/3608
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/schannel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 6f55b3b8f..36e68f969 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -324,6 +324,9 @@ get_alg_id_by_name(char *name) #ifdef CALG_ECDSA CIPHEROPTION(CALG_ECDSA); #endif +#ifdef CALG_ECDH_EPHEM + CIPHEROPTION(CALG_ECDH_EPHEM); +#endif return 0; } |