bugfix: handle HelloRequest received during handshake correctly

This commit is contained in:
Bodo Möller
2001-09-21 11:18:40 +00:00
parent b49124f6d9
commit 3b0b5abae3
2 changed files with 8 additions and 0 deletions

View File

@@ -387,7 +387,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);