From: Ondřej Surý Date: Wed, 19 Oct 2022 12:13:26 +0000 (+0200) Subject: Fix the non-developer build with OpenSSL 1.0.2 X-Git-Tag: v9.19.7~43^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dfaae53b9ababd4b7b363e227814d42c671052ef;p=thirdparty%2Fbind9.git Fix the non-developer build with OpenSSL 1.0.2 In non-developer build, a wrong condition prevented the isc__tls_malloc_ex, isc__tls_realloc_ex and isc__tls_free_ex to be defined. This was causing FTBFS on platforms with OpenSSL 1.0.2. --- diff --git a/lib/isc/tls.c b/lib/isc/tls.c index f38182a0dbf..339df8809e9 100644 --- a/lib/isc/tls.c +++ b/lib/isc/tls.c @@ -112,7 +112,7 @@ isc__tls_free_ex(void *ptr, const char *file, int line) { isc__mem_free(isc__tls_mctx, ptr, 0, file, (unsigned int)line); } -#elif OPENSSL_VERSION_NUMBER >= 0x10100000L +#else /* ISC_MEM_TRACKLINES */ static void * isc__tls_malloc_ex(size_t size, const char *file, int line) {