提交 98c1f5b4 编写于 作者: M Matt Caswell

Fix HelloVerifyRequest construction

commit c536b6be introduced a bug that causes a reachable assert. This fixes
it.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 3133c2d3
......@@ -885,6 +885,8 @@ int dtls_construct_hello_verify_request(SSL *s)
}
/* number of bytes to write */
s->d1->w_msg_hdr.msg_len = msglen - DTLS1_HM_HEADER_LENGTH;
s->d1->w_msg_hdr.frag_len = msglen - DTLS1_HM_HEADER_LENGTH;
s->init_num = (int)msglen;
s->init_off = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册