提交 5d8ce306 编写于 作者: M Matt Caswell

Fix an uninit variable usage

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 fb83f20c
......@@ -144,7 +144,7 @@ static int async_write(BIO *bio, const char *in, int inl)
while (PACKET_remaining(&pkt) > 0) {
PACKET payload, wholebody;
unsigned int contenttype, versionhi, versionlo, data;
unsigned int msgtype = 0, negversion;
unsigned int msgtype = 0, negversion = 0;
if ( !PACKET_get_1(&pkt, &contenttype)
|| !PACKET_get_1(&pkt, &versionhi)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册