secur32: On Mac, recognize key exchange algorithm for cipher suites using ECDH.
This commit is contained in:
parent
ba12844f32
commit
4ccb8746fd
|
@ -330,6 +330,11 @@ static ALG_ID schan_get_kx_algid(const struct cipher_suite* c)
|
|||
case schan_kx_DHE_DSS:
|
||||
case schan_kx_DHE_RSA_EXPORT:
|
||||
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_ECDHE_ECDSA:
|
||||
case schan_kx_ECDHE_RSA: return CALG_ECDH;
|
||||
case schan_kx_NULL: return 0;
|
||||
case schan_kx_RSA: return CALG_RSA_KEYX;
|
||||
|
||||
|
@ -339,11 +344,6 @@ static ALG_ID schan_get_kx_algid(const struct cipher_suite* c)
|
|||
case schan_kx_DH_DSS:
|
||||
case schan_kx_DH_RSA_EXPORT:
|
||||
case schan_kx_DH_RSA:
|
||||
case schan_kx_ECDH_anon:
|
||||
case schan_kx_ECDH_ECDSA:
|
||||
case schan_kx_ECDH_RSA:
|
||||
case schan_kx_ECDHE_ECDSA:
|
||||
case schan_kx_ECDHE_RSA:
|
||||
case schan_kx_FORTEZZA_DMS:
|
||||
case schan_kx_RSA_EXPORT:
|
||||
FIXME("Don't know CALG for key exchange algorithm %d for cipher suite %#x, returning 0\n", c->kx_alg, (unsigned)c->suite);
|
||||
|
|
Loading…
Reference in New Issue