]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9] fixed library version reporting
authorEvan Hunt <each@isc.org>
Thu, 22 Jan 2015 19:18:55 +0000 (11:18 -0800)
committerEvan Hunt <each@isc.org>
Thu, 22 Jan 2015 19:18:55 +0000 (11:18 -0800)
- forgot to include a CHANGES note
- disabled on windows (it fails to link)

CHANGES
bin/named/main.c

diff --git a/CHANGES b/CHANGES
index f08a0da01f7c023b66a3969453ecb48a9c36ece4..882dd59660c03988784f8210f412d46cd79a9b52 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
        --- 9.9.7rc1 released ---
 
+4047.  [cleanup]       "named -V" now reports the current running versions
+                       of OpenSSL and the libxml2 libraries, in addition to
+                       the versions that were in use at build time.
+
 4046.  [bug]           Accounting of "total use" in memory context
                        statistics was not correct. [RT #38370]
 
index f42637b5f78c62a99e95ce45876d145a6ca6bb4f..b6c92c9d7ffd6819dbe2e4aa49a9242e4e64b85f 100644 (file)
@@ -582,14 +582,18 @@ parse_command_line(int argc, char *argv[]) {
 #ifdef OPENSSL
                        printf("compiled with OpenSSL version: %s\n",
                               OPENSSL_VERSION_TEXT);
+#ifndef WIN32
                        printf("linked to OpenSSL version: %s\n",
                               SSLeay_version(SSLEAY_VERSION));
 #endif
+#endif
 #ifdef HAVE_LIBXML2
                        printf("compiled with libxml2 version: %s\n",
                               LIBXML_DOTTED_VERSION);
+#ifndef WIN32
                        printf("linked to libxml2 version: %s\n",
                               xmlParserVersion);
+#endif
 #endif
                        exit(0);
                case 'F':