From fbdb9ac866a647da0919b224f05cca039afc02fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 12 May 2018 11:49:30 +0000 Subject: Vendor import of Unbound 1.6.1. --- util/net_help.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/net_help.c') diff --git a/util/net_help.c b/util/net_help.c index 248598918b8e..6c0d68e312b8 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