Ken Thomases : secur32: Return CALG_ECDH_EPHEM as the key exchange algorithm ID for the internal schan_kx_ECDHE_* values.
Module: wine Branch: master Commit: 46ff5d34b99f56e9271cf8a5bd7f76c0f133d034 URL: http://source.winehq.org/git/wine.git/?a=commit;h=46ff5d34b99f56e9271cf8a5bd... Author: Ken Thomases <ken(a)codeweavers.com> Date: Wed Apr 19 16:37:25 2017 -0500 secur32: Return CALG_ECDH_EPHEM as the key exchange algorithm ID for the internal schan_kx_ECDHE_* values. Signed-off-by: Ken Thomases <ken(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/secur32/schannel_macosx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/secur32/schannel_macosx.c b/dlls/secur32/schannel_macosx.c index fdfa48e..2ed12d6 100644 --- a/dlls/secur32/schannel_macosx.c +++ b/dlls/secur32/schannel_macosx.c @@ -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;
participants (1)
-
Alexandre Julliard