Fix a pedantic gcc-7 warning.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 26 Apr 2017 23:00:08 +0000 (01:00 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 28 Apr 2017 13:04:08 +0000 (15:04 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3328)

test/clienthellotest.c

index 2de85128e33cbfe36c8738bdfbaedb9437b45b7a..dc58694c7d4de391e79b4a6b33e73fcef97dc3a8 100644 (file)
@@ -57,7 +57,7 @@ static int test_client_hello(int currtest)
     BIO *wbio;
     long len;
     unsigned char *data;
-    PACKET pkt, pkt2, pkt3;
+    PACKET pkt = {0}, pkt2 = {0}, pkt3 = {0};
     char *dummytick = "Hello World!";
     unsigned int type = 0;
     int testresult = 0;