]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix the non-developer build with OpenSSL 1.0.2
authorOndřej Surý <ondrej@isc.org>
Wed, 19 Oct 2022 12:13:26 +0000 (14:13 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 19 Oct 2022 12:41:10 +0000 (14:41 +0200)
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

index f38182a0dbfd8b92f828e64b3fff637f3586ea79..339df8809e96f3e0254026a2d33dc3596125d437 100644 (file)
@@ -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) {