Merge pull request #737 from natoscott/master
Fix dead code in sslLogCallback relating to should_log variable.
This commit is contained in:
commit
f2ef5f0c98
4
ssl.c
4
ssl.c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user