diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2019-11-25 17:01:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 17:01:12 -0800 |
commit | f2ef5f0c985a16c07ef610205f92864ac30c34dd (patch) | |
tree | c9fc32068dcdfc4f5cb58210a608f57ca9ce5269 | |
parent | 5d0568d9ae49363ad21b512c52025e45bbf8d02e (diff) | |
parent | 42697bd45a226d0841189c5ee6d4987d6cd7f481 (diff) |
Merge pull request #737 from natoscott/master
Fix dead code in sslLogCallback relating to should_log variable.
-rw-r--r-- | ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,8 +82,8 @@ redisContextFuncs redisContextSSLFuncs; * Callback used for debugging */ static void sslLogCallback(const SSL *ssl, int where, int ret) { - const char *retstr = ""; - int should_log = 1; + const char *retstr; + int should_log = 0; /* Ignore low-level SSL stuff */ if (where & SSL_CB_ALERT) { |