From: Rob Stradling Date: Tue, 10 Sep 2013 12:04:05 +0000 (+0100) Subject: Fix compilation with this branch's definition of SSL_CIPHER. X-Git-Tag: OpenSSL_0_9_8za~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ac97868079750bd4e0baf0aeffeda131d7980ff;p=oweals%2Fopenssl.git Fix compilation with this branch's definition of SSL_CIPHER. --- diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 531063679d..fc723a00a9 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -2404,7 +2404,7 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, if (j >= 0) { #if !defined(OPENSSL_NO_EC) && !defined(OPENSSL_NO_TLSEXT) - if ((alg_k & SSL_kEECDH) && (alg_a & SSL_aECDSA) && s->s3->is_probably_safari) + if ((alg & SSL_kECDHE) && (alg & SSL_aECDSA) && s->s3->is_probably_safari) { if (!ret) ret=sk_SSL_CIPHER_value(allow,j); continue;