Fix compilation with this branch's definition of SSL_CIPHER.

This commit is contained in:
Rob Stradling 2013-09-10 13:04:05 +01:00 committed by Ben Laurie
parent 0b05204c4e
commit 5ac9786807

View file

@ -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;