[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Wed May 17 16:58:09 UTC 2017
The branch master has been updated
via de34966b7cc5a718e720349f39161ade4f4232e3 (commit)
from 964f2788908e19b4faf370eb99652367672374e7 (commit)
- Log -----------------------------------------------------------------
commit de34966b7cc5a718e720349f39161ade4f4232e3
Author: Todd Short <tshort at akamai.com>
Date: Tue May 9 10:19:10 2017 -0400
Fix compile error/warning in packettest.c
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3416)
-----------------------------------------------------------------------
Summary of changes:
test/packettest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/packettest.c b/test/packettest.c
index 4866d27..5fe6a13 100644
--- a/test/packettest.c
+++ b/test/packettest.c
@@ -420,7 +420,7 @@ static int test_PACKET_as_length_prefixed_1()
unsigned char buf1[BUF_LEN];
const size_t len = 16;
unsigned int i;
- PACKET pkt, exact_pkt, subpkt;
+ PACKET pkt, exact_pkt, subpkt = {0};
buf1[0] = len;
for (i = 1; i < BUF_LEN; i++)
@@ -443,7 +443,7 @@ static int test_PACKET_as_length_prefixed_2()
unsigned char buf[1024];
const size_t len = 516; /* 0x0204 */
unsigned int i;
- PACKET pkt, exact_pkt, subpkt;
+ PACKET pkt, exact_pkt, subpkt = {0};
for (i = 1; i <= 1024; i++)
buf[i-1] = (i * 2) & 0xff;
More information about the openssl-commits
mailing list