From 8f71fb8d9817b7947c68ea93971eb8b6223ae40d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 15 Oct 2001 20:16:36 +0000 Subject: [PATCH] For consistency, set s->init_num in the 'reuse_message' case (if s23_srvr.c faked the message, s->init_num is 0). --- ssl/s3_both.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 409120bade..8e840ec7c9 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -357,7 +357,8 @@ long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok) } *ok=1; s->init_msg = s->init_buf->data + 4; - return((int)s->s3->tmp.message_size); + s->init_num = (int)s->s3->tmp.message_size; + return s->init_num; } p=(unsigned char *)s->init_buf->data; -- 2.34.1