Skip to content

Commit

Permalink
include OpenSSL library version in -V
Browse files Browse the repository at this point in the history
  • Loading branch information
goochjj committed Jul 10, 2015
1 parent df1c43d commit 8e310f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 8e310f9

Please sign in to comment.