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
bc2a8f37
Commit
bc2a8f37
authored
Jan 08, 2018
by
Mark Nunberg
Browse files
Minor SSL-related fixes
parent
82549a53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
bc2a8f37
...
...
@@ -55,7 +55,9 @@ STLIBNAME=$(LIBNAME).$(STLIBSUFFIX)
STLIB_MAKE_CMD
=
$(AR)
rcs
$(STLIBNAME)
ifdef
USE_SSL
OPENSSL_PREFIX
=
/usr/local/opt/openssl
# This is the prefix of openssl on my system. This should be the sane default
# based on the platform
OPENSSL_PREFIX
?=
/usr/local/opt/openssl
CFLAGS
+=
-I
$(OPENSSL_PREFIX)
/include
-DHIREDIS_SSL
LDFLAGS
+=
-L
$(OPENSSL_PREFIX)
/lib
-lssl
-lcrypto
endif
...
...
sslio.c
View file @
bc2a8f37
...
...
@@ -57,7 +57,7 @@ static void opensslDoLock(int mode, int lkid, const char *f, int line) {
}
else
{
sslLockRelease
(
l
);
}
(
void
)
f
;
(
void
)
line
;
}
...
...
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