Skip to content

Commit

Permalink
Fix incorrect substitution that happened during the recent ciphersuite
Browse files Browse the repository at this point in the history
selection remodeling

Submitted by: Victor Duchovni
  • Loading branch information
45264 committed Feb 22, 2007
1 parent ee373e7 commit 882d29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/ssl_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 882d29d

Please sign in to comment.