diff options
Diffstat (limited to 'src/lib/libssl/s23_clnt.c')
-rw-r--r-- | src/lib/libssl/s23_clnt.c | 4 |
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 */ |