2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

[master] fixed library version reporting

- forgot to include a CHANGES note
- disabled on windows (it fails to link)
This commit is contained in:
Evan Hunt
2015-01-22 11:17:03 -08:00
parent 84ee90b52d
commit 9175a4ed63
2 changed files with 8 additions and 0 deletions

View 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':