summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s23_clnt.c
diff options
context:
space:
mode:
authorbeck <>2000-12-15 02:58:47 +0000
committerbeck <>2000-12-15 02:58:47 +0000
commit9200bb13d15da4b2a23e6bc92c20e95b74aa2113 (patch)
tree5c52d628ec1e34be76e7ef2a4235d248b7c44d24 /src/lib/libssl/s23_clnt.c
parente131d25072e3d4197ba4b9bcc0d1b27d34d6488d (diff)
downloadopenbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.gz
openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.bz2
openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.zip
openssl-engine-0.9.6 merge
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/s23_clnt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/s23_clnt.c b/src/lib/libssl/s23_clnt.c
index aaedf6a9bb..5050a13ef2 100644
--- a/src/lib/libssl/s23_clnt.c
+++ b/src/lib/libssl/s23_clnt.c
@@ -366,7 +366,9 @@ static int ssl23_get_server_hello(SSL *s)
366 } 366 }
367 367
368 s->state=SSL2_ST_GET_SERVER_HELLO_A; 368 s->state=SSL2_ST_GET_SERVER_HELLO_A;
369 s->s2->ssl2_rollback=1; 369 if (!(s->client_version == SSL2_VERSION))
370 /* use special padding (SSL 3.0 draft/RFC 2246, App. E.2) */
371 s->s2->ssl2_rollback=1;
370 372
371 /* setup the 5 bytes we have read so we get them from 373 /* setup the 5 bytes we have read so we get them from
372 * the sslv2 buffer */ 374 * the sslv2 buffer */