mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
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
This commit is contained in:
parent
aa7b813ad1
commit
531b7ad43a
@ -496,3 +496,4 @@ WinSSL allows the enabling and disabling of encryption algorithms, but not speci
|
|||||||
`CALG_ECDH`,
|
`CALG_ECDH`,
|
||||||
`CALG_ECMQV`,
|
`CALG_ECMQV`,
|
||||||
`CALG_ECDSA`,
|
`CALG_ECDSA`,
|
||||||
|
`CALG_ECDH_EPHEM`,
|
||||||
|
@ -323,6 +323,9 @@ get_alg_id_by_name(char *name)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef CALG_ECDSA
|
#ifdef CALG_ECDSA
|
||||||
CIPHEROPTION(CALG_ECDSA);
|
CIPHEROPTION(CALG_ECDSA);
|
||||||
|
#endif
|
||||||
|
#ifdef CALG_ECDH_EPHEM
|
||||||
|
CIPHEROPTION(CALG_ECDH_EPHEM);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user