diff options
| author | beck <> | 2018-03-19 14:07:18 +0000 |
|---|---|---|
| committer | beck <> | 2018-03-19 14:07:18 +0000 |
| commit | 04c4112e8d2770804097131bb03e0f29f79ae25d (patch) | |
| tree | 94a91e93b652686a16df1e46ba6a493279522b2b /src/lib/libcrypto/crypto_init.c | |
| parent | 74a14c647b3e5439c7c6eb66de27b4468df22bab (diff) | |
| download | openbsd-04c4112e8d2770804097131bb03e0f29f79ae25d.tar.gz openbsd-04c4112e8d2770804097131bb03e0f29f79ae25d.tar.bz2 openbsd-04c4112e8d2770804097131bb03e0f29f79ae25d.zip | |
correct funciton prototype
spotted by anton@
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
| -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) && |
