diff options
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
-rw-r--r-- | src/lib/libcrypto/crypto_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c index 08fb55ffd5..3745e2e718 100644 --- a/src/lib/libcrypto/crypto_init.c +++ b/src/lib/libcrypto/crypto_init.c | |||
@@ -30,6 +30,8 @@ int OpenSSL_no_config(void); | |||
30 | 30 | ||
31 | static pthread_t crypto_init_thread; | 31 | static pthread_t crypto_init_thread; |
32 | 32 | ||
33 | void crypto_init_locks(void); | ||
34 | |||
33 | static void | 35 | static void |
34 | OPENSSL_init_crypto_internal(void) | 36 | OPENSSL_init_crypto_internal(void) |
35 | { | 37 | { |
@@ -38,6 +40,7 @@ OPENSSL_init_crypto_internal(void) | |||
38 | ERR_load_crypto_strings(); | 40 | ERR_load_crypto_strings(); |
39 | OpenSSL_add_all_ciphers(); | 41 | OpenSSL_add_all_ciphers(); |
40 | OpenSSL_add_all_digests(); | 42 | OpenSSL_add_all_digests(); |
43 | crypto_init_locks(); | ||
41 | } | 44 | } |
42 | 45 | ||
43 | int | 46 | int |