From 8e310f9bb62bee98fe6931e62a32afe9bfba0d46 Mon Sep 17 00:00:00 2001 From: Joe Gooch Date: Fri, 10 Jul 2015 16:29:16 -0400 Subject: [PATCH] include OpenSSL library version in -V --- config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.c b/config.c index 3c0765c..a5835ba 100644 --- a/config.c +++ b/config.c @@ -1859,6 +1859,9 @@ config_parse(const int argc, char **const argv) case 'V': print_log = 1; logmsg(LOG_DEBUG, "Version %s", VERSION); +#ifdef SSLEAY_VERSION + logmsg(LOG_DEBUG, "OpenSSL version %s", SSLeay_version(SSLEAY_VERSION)); +#endif logmsg(LOG_DEBUG, " Configuration switches:"); #ifdef C_SUPER if(strcmp(C_SUPER, "0"))