diff options
author | Bodo Möller <bodo@openssl.org> | 1999-09-13 15:02:07 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-09-13 15:02:07 +0200 |
commit | ac7da000480358f268f385608685308b0104c1f8 (patch) | |
tree | 1dac1c98e171620413d259b12ed8eb01b30472b5 /ssl/s23_srvr.c | |
parent | Initial support for MacOS. (diff) | |
download | openssl-ac7da000480358f268f385608685308b0104c1f8.tar.xz openssl-ac7da000480358f268f385608685308b0104c1f8.zip |
Set s->version correctly for "natural" SSL 3.0 client hello
Diffstat (limited to 'ssl/s23_srvr.c')
-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) || |