Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
f2ef5f0c
Unverified
Commit
f2ef5f0c
authored
Nov 25, 2019
by
Michael Grunder
Committed by
GitHub
Nov 25, 2019
Browse files
Merge pull request #737 from natoscott/master
Fix dead code in sslLogCallback relating to should_log variable.
parents
5d0568d9
42697bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ssl.c
View file @
f2ef5f0c
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment