diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-05-12 11:49:30 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-05-12 11:49:30 +0000 |
commit | fbdb9ac866a647da0919b224f05cca039afc02fa (patch) | |
tree | a4ddb15b51a795c9f985e693a04d992a94f4f455 /util/net_help.c | |
parent | 31f8d531e1359c7acd82cff9ab798cdeac277adc (diff) |
Diffstat (limited to 'util/net_help.c')
-rw-r--r-- | util/net_help.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/net_help.c b/util/net_help.c index 248598918b8e1..6c0d68e312b8d 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -785,7 +785,7 @@ void* outgoing_ssl_fd(void* sslctx, int fd) #if defined(HAVE_SSL) && defined(OPENSSL_THREADS) && !defined(THREADS_DISABLED) && defined(CRYPTO_LOCK) && OPENSSL_VERSION_NUMBER < 0x10100000L /** global lock list for openssl locks */ -static lock_basic_t *ub_openssl_locks = NULL; +static lock_basic_type *ub_openssl_locks = NULL; /** callback that gets thread id for openssl */ static unsigned long @@ -810,8 +810,8 @@ int ub_openssl_lock_init(void) { #if defined(HAVE_SSL) && defined(OPENSSL_THREADS) && !defined(THREADS_DISABLED) && defined(CRYPTO_LOCK) && OPENSSL_VERSION_NUMBER < 0x10100000L int i; - ub_openssl_locks = (lock_basic_t*)reallocarray( - NULL, (size_t)CRYPTO_num_locks(), sizeof(lock_basic_t)); + ub_openssl_locks = (lock_basic_type*)reallocarray( + NULL, (size_t)CRYPTO_num_locks(), sizeof(lock_basic_type)); if(!ub_openssl_locks) return 0; for(i=0; i<CRYPTO_num_locks(); i++) { |