Unverified Commit f2ef5f0c authored by Michael Grunder's avatar Michael Grunder Committed by GitHub
Browse files

Merge pull request #737 from natoscott/master

Fix dead code in sslLogCallback relating to should_log variable.
parents 5d0568d9 42697bd4
...@@ -82,8 +82,8 @@ redisContextFuncs redisContextSSLFuncs; ...@@ -82,8 +82,8 @@ redisContextFuncs redisContextSSLFuncs;
* Callback used for debugging * Callback used for debugging
*/ */
static void sslLogCallback(const SSL *ssl, int where, int ret) { static void sslLogCallback(const SSL *ssl, int where, int ret) {
const char *retstr = ""; const char *retstr;
int should_log = 1; int should_log = 0;
/* Ignore low-level SSL stuff */ /* Ignore low-level SSL stuff */
if (where & SSL_CB_ALERT) { if (where & SSL_CB_ALERT) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment