diff options
author | Bodo Möller <bodo@openssl.org> | 2001-10-15 20:16:36 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-10-15 20:16:36 +0000 |
commit | 8f71fb8d9817b7947c68ea93971eb8b6223ae40d (patch) | |
tree | db054220dff614b2f4cfe46ff99e51282d75be21 /ssl/s3_both.c | |
parent | 48948d53b6f61aa14bc5eab33f67f124c43175ff (diff) | |
download | openssl-new-8f71fb8d9817b7947c68ea93971eb8b6223ae40d.tar.gz |
For consistency, set s->init_num in the 'reuse_message' case
(if s23_srvr.c faked the message, s->init_num is 0).
Diffstat (limited to 'ssl/s3_both.c')
-rw-r--r-- | ssl/s3_both.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |