提交 8f71fb8d 编写于 作者: B Bodo Möller

For consistency, set s->init_num in the 'reuse_message' case

(if s23_srvr.c faked the message, s->init_num is 0).
上级 48948d53
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册