]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Restore logging of used OpenSSL versions upon startup
authorMichał Kępień <michal@isc.org>
Fri, 10 Aug 2018 11:56:01 +0000 (13:56 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 10 Aug 2018 11:58:41 +0000 (13:58 +0200)
Remove an #ifdef which commit c3b8130fe8267185e786e9c12527df7c53b37589
should have removed.

bin/named/main.c

index 06d32bd7fa6d7b49c8d6f272f316282b26947d86..963e3c2435e49e3bb86fd2087aa9d9a4c306d398 100644 (file)
@@ -1006,7 +1006,6 @@ setup(void) {
                      NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
                      "compiled by Solaris Studio %x", __SUNPRO_C);
 #endif
-#ifdef OPENSSL
        isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
                      NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
                      "compiled with OpenSSL version: %s",
@@ -1023,7 +1022,6 @@ setup(void) {
                      "linked to OpenSSL version: %s",
                      SSLeay_version(SSLEAY_VERSION));
 #endif /* OPENSSL_VERSION_NUMBER >= 0x10100000L */
-#endif
 #ifdef HAVE_LIBXML2
        isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
                      NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,