]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
print openssl version.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jul 2008 11:33:31 +0000 (11:33 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jul 2008 11:33:31 +0000 (11:33 +0000)
git-svn-id: file:///svn/unbound/trunk@1168 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
doc/Changelog

index f1732eaefac5e728bd90ee1db876a10c3525fa07..8720a7261b8e875c7ce9c46ab5ba651c3082ac31 100644 (file)
@@ -52,6 +52,7 @@
 #include "util/module.h"
 #include <signal.h>
 #include <fcntl.h>
+#include <openssl/crypto.h>
 #ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
@@ -84,8 +85,9 @@ static void usage()
        printf("-d      do not fork into the background.\n");
        printf("-v      verbose (more times to increase verbosity)\n");
        printf("Version %s\n", PACKAGE_VERSION);
-       printf("libevent %s, libldns %s\n", 
-               event_get_version(), ldns_version());
+       printf("libevent %s, libldns %s, %s\n", 
+               event_get_version(), ldns_version(), 
+               SSLeay_version(SSLEAY_VERSION));
        printf("BSD licensed, see LICENSE in source package for details.\n");
        printf("Report bugs to %s\n", PACKAGE_BUGREPORT);
 }
index 711a64c9a20ca782d5ab50d447ac7fd183c44d66..4bf8cf0cf6d6baf54352a47e0e84ee13673487e6 100644 (file)
@@ -4,6 +4,7 @@
          this makes background asynchronous resolution work on windows.
        - removed very insecure socketpair compat code. It also did not
          work with event_waiting. Solved by pipe replacement.
+       - unbound -h prints openssl version number as well.
 
 22 July 2008: Wouter
        - moved pipe actions to util/tube.c. easier porting and shared code.