projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c248b
)
Fix bogus warnings
author
Matt Caswell
<matt@openssl.org>
Sat, 30 Jul 2016 09:37:53 +0000
(10:37 +0100)
committer
Matt Caswell
<matt@openssl.org>
Sat, 30 Jul 2016 09:38:28 +0000
(10:38 +0100)
Fix some bogus "may be used uninitialized" warnings on some compilers.
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/sslapitest.c
patch
|
blob
|
history
diff --git
a/test/sslapitest.c
b/test/sslapitest.c
index 5fc552d13ce7458a2f73708caebad345f0f65f45..cb8621737b49dbbc0194a3759d0baeea029f12a2 100644
(file)
--- 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;