aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-08-01 10:08:45 -0700
committerJeff Garzik <[email protected]>2012-08-01 10:08:45 -0700
commit06e0e1c8539cb53ce21d282b3a6cc6e9becc3f7a (patch)
treebcf7594b77bcc01b583dab889eb3b6f188be30df /src/init.cpp
parentMerge pull request #1396 from rebroad/NoShrinkOption (diff)
parentwrite used OpenSSL library version to debug.log (diff)
downloaddiscoin-06e0e1c8539cb53ce21d282b3a6cc6e9becc3f7a.tar.xz
discoin-06e0e1c8539cb53ce21d282b3a6cc6e9becc3f7a.zip
Merge pull request #1465 from Diapolo/NOUI_showSSLVersion
write used OpenSSL library version to debug.log
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ac30a1d19..a07d01137 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -14,6 +14,7 @@
#include <boost/filesystem/convenience.hpp>
#include <boost/interprocess/sync/file_lock.hpp>
#include <boost/algorithm/string/predicate.hpp>
+#include <openssl/crypto.h>
#ifndef WIN32
#include <signal.h>
@@ -455,6 +456,7 @@ bool AppInit2()
ShrinkDebugFile();
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
+ printf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
printf("Default data directory %s\n", GetDefaultDataDir().string().c_str());
printf("Used data directory %s\n", GetDataDir().string().c_str());