summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/crypto_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c
index ed2b5d4810..08fb55ffd5 100644
--- a/src/lib/libcrypto/crypto_init.c
+++ b/src/lib/libcrypto/crypto_init.c
@@ -25,8 +25,8 @@
25#include <openssl/err.h> 25#include <openssl/err.h>
26#include "cryptlib.h" 26#include "cryptlib.h"
27 27
28int OpenSSL_config(char *); 28int OpenSSL_config(const char *);
29int OpenSSL_no_config(char *); 29int OpenSSL_no_config(void);
30 30
31static pthread_t crypto_init_thread; 31static pthread_t crypto_init_thread;
32 32
@@ -52,7 +52,7 @@ OPENSSL_init_crypto(uint64_t opts, const void *settings)
52 return 0; 52 return 0;
53 53
54 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) && 54 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) &&
55 (OpenSSL_no_config(NULL) == 0)) 55 (OpenSSL_no_config() == 0))
56 return 0; 56 return 0;
57 57
58 if ((opts & OPENSSL_INIT_LOAD_CONFIG) && 58 if ((opts & OPENSSL_INIT_LOAD_CONFIG) &&