From dfaae53b9ababd4b7b363e227814d42c671052ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 19 Oct 2022 14:13:26 +0200 Subject: [PATCH] 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. --- lib/isc/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/tls.c b/lib/isc/tls.c index f38182a0db..339df8809e 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) {