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
redis
Commits
d6f42732
Commit
d6f42732
authored
Jul 14, 2021
by
Yossi Gottlieb
Committed by
Oran Agra
Jul 21, 2021
Browse files
Fix compatibility with OpenSSL 1.1.0. (#9233)
(cherry picked from commit
277e4dc2
)
parent
de1b19ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tls.c
View file @
d6f42732
...
@@ -146,6 +146,8 @@ void tlsInit(void) {
...
@@ -146,6 +146,8 @@ void tlsInit(void) {
*/
*/
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L
OPENSSL_config
(
NULL
);
OPENSSL_config
(
NULL
);
#elif OPENSSL_VERSION_NUMBER < 0x10101000L
OPENSSL_init_crypto
(
OPENSSL_INIT_LOAD_CONFIG
,
NULL
);
#else
#else
OPENSSL_init_crypto
(
OPENSSL_INIT_LOAD_CONFIG
|
OPENSSL_INIT_ATFORK
,
NULL
);
OPENSSL_init_crypto
(
OPENSSL_INIT_LOAD_CONFIG
|
OPENSSL_INIT_ATFORK
,
NULL
);
#endif
#endif
...
...
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