summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-07-30 10:37:53 +0100
committerMatt Caswell <matt@openssl.org>2016-07-30 10:38:28 +0100
commit0fae81501a80fae6e96942f8d766daf4c61defc7 (patch)
tree4b3b6914086441c93493b87d817993d86fa8bf01 /test
parent44c248b5acc7fe3e48fa7b08bbc71fbb10650cdb (diff)
Fix bogus warnings
Fix some bogus "may be used uninitialized" warnings on some compilers. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/sslapitest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 5fc552d13c..cb8621737b 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -352,7 +352,7 @@ static int test_ssl_set_bio(int idx)
SSL_CTX *ctx = SSL_CTX_new(TLS_method());
BIO *bio1 = NULL;
BIO *bio2 = NULL;
- BIO *irbio, *iwbio, *nrbio, *nwbio;
+ BIO *irbio = NULL, *iwbio = NULL, *nrbio = NULL, *nwbio = NULL;
SSL *ssl = NULL;
int initrbio, initwbio, newrbio, newwbio;
int testresult = 0;