don't use flags that aren't supported by certain versions of OPENSSL
Former-commit-id: 0bfd2ea8a66c20a006311e468b57f33ad21855f6
This commit is contained in:
parent
3da2de685c
commit
3c157023bc
@ -149,6 +149,8 @@ void tlsInit(void) {
|
||||
*/
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
OPENSSL_config(NULL);
|
||||
#elif OPENSSL_VERSION_NUMBER < 0x10101000L
|
||||
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL);
|
||||
#else
|
||||
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG|OPENSSL_INIT_ATFORK, NULL);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user