Set s->version correctly for "natural" SSL 3.0 client hello
This commit is contained in:
parent
17f389bbbf
commit
ac7da00048
@ -341,8 +341,11 @@ int ssl23_get_client_hello(SSL *s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!(s->options & SSL_OP_NO_SSLv3))
|
else if (!(s->options & SSL_OP_NO_SSLv3))
|
||||||
|
{
|
||||||
|
s->version=SSL3_VERSION;
|
||||||
type=3;
|
type=3;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if ((strncmp("GET ", (char *)p,4) == 0) ||
|
else if ((strncmp("GET ", (char *)p,4) == 0) ||
|
||||||
(strncmp("POST ",(char *)p,5) == 0) ||
|
(strncmp("POST ",(char *)p,5) == 0) ||
|
||||||
(strncmp("HEAD ",(char *)p,5) == 0) ||
|
(strncmp("HEAD ",(char *)p,5) == 0) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user