use SSL_kECDHE throughout instead of SSL_kEECDH

ECDHE is the standard term used by the RFCs and by other TLS
implementations.  It's useful to have the internal variables use the
standard terminology.

This patch leaves a synonym SSL_kEECDH in place, though, so that older
code can still be built against it, since that has been the
traditional API.  SSL_kEECDH should probably be deprecated at some
point, though.
This commit is contained in:
Daniel Kahn Gillmor
2013-12-19 13:57:49 -05:00
committed by Dr. Stephen Henson
parent 0be085d34a
commit 4082fea81c
9 changed files with 59 additions and 58 deletions

View File

@@ -2522,8 +2522,8 @@ void ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
#ifndef OPENSSL_NO_ECDH
if (have_ecdh_tmp)
{
mask_k|=SSL_kEECDH;
emask_k|=SSL_kEECDH;
mask_k|=SSL_kECDHE;
emask_k|=SSL_kECDHE;
}
#endif