Fix incorrect substitution that happened during the recent ciphersuite

selection remodeling

Submitted by: Victor Duchovni
This commit is contained in:
Bodo Möller 2007-02-22 21:31:19 +00:00
parent ee373e7f19
commit 882d29dd87

View File

@ -1946,7 +1946,7 @@ X509 *ssl_get_server_send_cert(SSL *s)
alg_k = s->s3->tmp.new_cipher->algorithm_mkey;
alg_a = s->s3->tmp.new_cipher->algorithm_auth;
if (alg_k & (SSL_kEECDH|SSL_kECDHr|SSL_kECDHe))
if (alg_k & (SSL_kECDHr|SSL_kECDHe))
{
/* we don't need to look at SSL_kEECDH
* since no certificate is needed for