Fix compilation with no-ec and/or no-tlsext.
This commit is contained in:
parent
4b61f6d2a6
commit
937f125efc
@ -4021,17 +4021,17 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
|
|||||||
ii=sk_SSL_CIPHER_find(allow,c);
|
ii=sk_SSL_CIPHER_find(allow,c);
|
||||||
if (ii >= 0)
|
if (ii >= 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_k & SSL_kEECDH) && (alg_a & SSL_aECDSA) && s->s3->is_probably_safari)
|
||||||
{
|
{
|
||||||
if (!ret) ret=sk_SSL_CIPHER_value(allow,ii);
|
if (!ret) ret=sk_SSL_CIPHER_value(allow,ii);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
#endif
|
||||||
{
|
|
||||||
ret=sk_SSL_CIPHER_value(allow,ii);
|
ret=sk_SSL_CIPHER_value(allow,ii);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user