diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-05-11 16:21:37 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-11 19:39:38 +0200 |
commit | 018fcbec38509cd03fb0709904a382c3bfcf5ed4 (patch) | |
tree | cb03c315ac98d80e53a0662f26d69ca9d5ceafbf /test/sslapitest.c | |
parent | 69b4c01fd26e6eb72b156ed3014522c3295a7669 (diff) |
Fix gcc-7 warnings.
- Mostly missing fall thru comments
- And uninitialized value used in sslapitest.c
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3440)
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r-- | test/sslapitest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index 15226134df..a2424cf748 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -1528,7 +1528,7 @@ static int test_early_data_skip(int idx) SSL_CTX *cctx = NULL, *sctx = NULL; SSL *clientssl = NULL, *serverssl = NULL; int testresult = 0; - SSL_SESSION *sess; + SSL_SESSION *sess = NULL; unsigned char buf[20]; size_t readbytes, written; @@ -1588,7 +1588,7 @@ static int test_early_data_not_sent(int idx) SSL_CTX *cctx = NULL, *sctx = NULL; SSL *clientssl = NULL, *serverssl = NULL; int testresult = 0; - SSL_SESSION *sess; + SSL_SESSION *sess = NULL; unsigned char buf[20]; size_t readbytes, written; @@ -1654,7 +1654,7 @@ static int test_early_data_not_expected(int idx) SSL_CTX *cctx = NULL, *sctx = NULL; SSL *clientssl = NULL, *serverssl = NULL; int testresult = 0; - SSL_SESSION *sess; + SSL_SESSION *sess = NULL; unsigned char buf[20]; size_t readbytes, written; |