From ac7da000480358f268f385608685308b0104c1f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 13 Sep 1999 13:02:07 +0000 Subject: [PATCH] Set s->version correctly for "natural" SSL 3.0 client hello --- ssl/s23_srvr.c | 3 +++ 1 file changed, 3 insertions(+) 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) || -- 2.25.1