]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fixed library version reporting
authorEvan Hunt <each@isc.org>
Thu, 22 Jan 2015 19:17:03 +0000 (11:17 -0800)
committerEvan Hunt <each@isc.org>
Thu, 22 Jan 2015 19:17:03 +0000 (11:17 -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 bc3ad0a55d4560f8995f4bd63684b0bc0b716a6d..f09666494ad90577edf5b10f4abfab9d10260ea0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+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 f28aaa5a568aa6ceba4696f79f29ae5d8cec90ae..9ce8dfcf9e1149ddafaf17241051ad29f4e9f2c8 100644 (file)
@@ -608,14 +608,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 'x':