aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2015-11-23 18:55:26 +0100
committerMarcoFalke <falke.marco@gmail.com>2015-11-24 09:07:26 +0100
commitfaf12bc2839d0a858b36c371aaf26902e49e380c (patch)
tree70f9cff728765e1ecd34a22fa66567a90ca2c254 /src/init.cpp
parent616d61b20d56c0645412884df441eba781ec565d (diff)
OpenSSL 1.1.0: Fix text variant of the version number
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index cd84e7747a..4b3977d6df 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1026,7 +1026,12 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (fPrintToDebugLog)
OpenDebugLog();
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
+#else
+ LogPrintf("Using OpenSSL version %s\n", OpenSSL_version(OPENSSL_VERSION));
+#endif
+
#ifdef ENABLE_WALLET
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(0, 0, 0));
#endif