summaryrefslogtreecommitdiffstats
path: root/test/asynciotest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-11-23 16:06:46 +0000
committerMatt Caswell <matt@openssl.org>2016-11-23 16:06:46 +0000
commit5d8ce306349aabcf40da0324242025aac3cc56e4 (patch)
tree2d85869b5a6c9c7f080dbb37984235a76200d310 /test/asynciotest.c
parentfb83f20c30784aa863a0611fda5f09f488af463a (diff)
Fix an uninit variable usage
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/asynciotest.c')
-rw-r--r--test/asynciotest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asynciotest.c b/test/asynciotest.c
index d7b1dd3860..e14747265d 100644
--- a/test/asynciotest.c
+++ b/test/asynciotest.c
@@ -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)