Fixes from HEAD.
This commit is contained in:
@@ -223,6 +223,15 @@ static int ssl23_client_hello(SSL *s)
|
||||
{
|
||||
version = SSL2_VERSION;
|
||||
}
|
||||
#ifndef OPENSSL_NO_TLSEXT
|
||||
if (version != SSL2_VERSION)
|
||||
{
|
||||
/* have to disable SSL 2.0 compatibility if we need TLS extensions */
|
||||
|
||||
if (s->tlsext_hostname != NULL)
|
||||
ssl2_compat = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
buf=(unsigned char *)s->init_buf->data;
|
||||
if (s->state == SSL23_ST_CW_CLNT_HELLO_A)
|
||||
|
Reference in New Issue
Block a user