From 029dfa64d466a594f787bbfc30b958d6282fd3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Fri, 21 Sep 2001 11:19:26 +0000 Subject: bugfix: handle HelloRequest received during handshake correctly --- ssl/s3_both.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ssl/s3_both.c') diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 10d8d3b15a..f1f9c6ce7a 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -383,7 +383,11 @@ long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok) * if their format is correct. Does not count for * 'Finished' MAC. */ if (p[1] == 0 && p[2] == 0 &&p[3] == 0) + { + s->init_num = 0; skip_message = 1; + } + } while (skip_message); -- cgit v1.2.3