diff options
author | beck <> | 2018-03-19 14:07:18 +0000 |
---|---|---|
committer | beck <> | 2018-03-19 14:07:18 +0000 |
commit | 0411609e921425cc1953e32e3b9b37723d5e0459 (patch) | |
tree | 94a91e93b652686a16df1e46ba6a493279522b2b /src | |
parent | d5fb5d1a107696bee4657cd62e568b4bd3bb49ed (diff) | |
download | openbsd-0411609e921425cc1953e32e3b9b37723d5e0459.tar.gz openbsd-0411609e921425cc1953e32e3b9b37723d5e0459.tar.bz2 openbsd-0411609e921425cc1953e32e3b9b37723d5e0459.zip |
correct funciton prototype
spotted by anton@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/crypto_init.c | 6 |
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 | ||
28 | int OpenSSL_config(char *); | 28 | int OpenSSL_config(const char *); |
29 | int OpenSSL_no_config(char *); | 29 | int OpenSSL_no_config(void); |
30 | 30 | ||
31 | static pthread_t crypto_init_thread; | 31 | static 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) && |