diff options
author | Bodo Möller <bodo@openssl.org> | 1999-09-13 13:02:07 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-09-13 13:02:07 +0000 |
commit | ac7da000480358f268f385608685308b0104c1f8 (patch) | |
tree | 1dac1c98e171620413d259b12ed8eb01b30472b5 | |
parent | 17f389bbbfccf057a8bc04084ed068c4b368e751 (diff) |
Set s->version correctly for "natural" SSL 3.0 client hello
-rw-r--r-- | ssl/s23_srvr.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) || |