secur32: Return CALG_ECDH_EPHEM as the key exchange algorithm ID for the internal schan_kx_ECDHE_* values.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ken Thomases 2017-04-19 16:37:25 -05:00 committed by Alexandre Julliard
parent f7402accc4
commit 46ff5d34b9

View file

@ -496,9 +496,9 @@ static ALG_ID schan_get_kx_algid(const struct cipher_suite* c)
case schan_kx_DHE_RSA: return CALG_DH_EPHEM;
case schan_kx_ECDH_anon:
case schan_kx_ECDH_ECDSA:
case schan_kx_ECDH_RSA:
case schan_kx_ECDH_RSA: return CALG_ECDH;
case schan_kx_ECDHE_ECDSA:
case schan_kx_ECDHE_RSA: return CALG_ECDH;
case schan_kx_ECDHE_RSA: return CALG_ECDH_EPHEM;
case schan_kx_NULL: return 0;
case schan_kx_RSA:
case schan_kx_RSA_EXPORT: return CALG_RSA_KEYX;