aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tunala/tunala.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2002-01-10 06:03:12 +0000
committerGeoff Thorpe <geoff@openssl.org>2002-01-10 06:03:12 +0000
commitfd69886aeda473c97af2b9ae9c52123c45783ded (patch)
tree6cf2578eacf8909af66250eacb4aeff2edaf3a8d /demos/tunala/tunala.c
parentfd795679bbcc56980663610c8d9a62ca300b424f (diff)
downloadopenssl-fd69886aeda473c97af2b9ae9c52123c45783ded.tar.gz
- Network errors could pollute the buffers because -1 isn't noticed in an
"unsigned int". - Remove redundant processing with machine->ssl is NULL. - Remove compiler warnings about uninitialised 'ctx' (it's not used uninitialised, but gcc can't see that).
Diffstat (limited to 'demos/tunala/tunala.c')
-rw-r--r--demos/tunala/tunala.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/tunala/tunala.c b/demos/tunala/tunala.c
index 90823043aa..a3e982b527 100644
--- a/demos/tunala/tunala.c
+++ b/demos/tunala/tunala.c
@@ -727,7 +727,7 @@ static SSL_CTX *initialise_ssl_ctx(int server_mode, const char *engine_id,
int out_state, int out_verify, int verify_mode,
unsigned int verify_depth)
{
- SSL_CTX *ctx, *ret = NULL;
+ SSL_CTX *ctx = NULL, *ret = NULL;
SSL_METHOD *meth;
ENGINE *e = NULL;