From: Bodo Möller Date: Mon, 13 Sep 1999 13:02:07 +0000 (+0000) Subject: Set s->version correctly for "natural" SSL 3.0 client hello X-Git-Tag: OpenSSL_0_9_5beta1~520 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac7da000480358f268f385608685308b0104c1f8;p=openssl Set s->version correctly for "natural" SSL 3.0 client hello --- diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index 8a3bc2ea1f..a9fefef354 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -341,7 +341,10 @@ int ssl23_get_client_hello(SSL *s) } } else if (!(s->options & SSL_OP_NO_SSLv3)) + { + s->version=SSL3_VERSION; type=3; + } } else if ((strncmp("GET ", (char *)p,4) == 0) || (strncmp("POST ",(char *)p,5) == 0) ||