From: Bodo Möller Date: Thu, 22 Feb 2007 21:31:19 +0000 (+0000) Subject: Fix incorrect substitution that happened during the recent ciphersuite X-Git-Tag: OpenSSL_0_9_8k^2~955 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=882d29dd87cf4b65cb46fa87b3c95539d06563d1;hp=ee373e7f190914ce7d95a9011864f4d7c9502c6b Fix incorrect substitution that happened during the recent ciphersuite selection remodeling Submitted by: Victor Duchovni --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 6e5d1b7f46..d73c7ca080 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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