summaryrefslogtreecommitdiff
path: root/examples/example-libevent-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-libevent-ssl.c')
-rw-r--r--examples/example-libevent-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-libevent-ssl.c b/examples/example-libevent-ssl.c
index 7d99af1..d0998ba 100644
--- a/examples/example-libevent-ssl.c
+++ b/examples/example-libevent-ssl.c
@@ -56,7 +56,7 @@ int main (int argc, char **argv) {
const char *caCert = argc > 5 ? argv[6] : NULL;
redisSSLContext *ssl;
- redisSSLContextError ssl_error;
+ redisSSLContextError ssl_error = REDIS_SSL_CTX_NONE;
redisInitOpenSSL();