mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix an uninit variable usage
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
fb83f20c30
commit
5d8ce30634
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user