[PATCH 1/2] secur32: Return CALG_ECDH_EPHEM as the key exchange algorithm ID for the internal schan_kx_ECDHE_* values.

Ken Thomases ken at codeweavers.com
Wed Apr 19 16:37:25 CDT 2017


Signed-off-by: Ken Thomases <ken at codeweavers.com>
---
 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;
-- 
2.10.2




More information about the wine-patches mailing list