- Network errors could pollute the buffers because -1 isn't noticed in an
[openssl.git] / demos / tunala / tunala.c
index 90823043aa5eb6a0e65f454f55e115e7b65978bf..a3e982b527ab45f24189ff8cb0c005b9143cdcd0 100644 (file)
@@ -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)
 {
                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;
 
        SSL_METHOD *meth;
        ENGINE *e = NULL;