diff options
| author | Philip Kaufmann <[email protected]> | 2012-06-14 19:23:59 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-07-04 08:18:03 +0200 |
| commit | 31b581bcac8d32742d1057c7bc33bd4c577afcbd (patch) | |
| tree | c52bb9f3be0b6a98561734129e9f94d152b6fddf /src/init.cpp | |
| parent | Merge pull request #1512 from jgarzik/json-batch (diff) | |
| download | discoin-31b581bcac8d32742d1057c7bc33bd4c577afcbd.tar.xz discoin-31b581bcac8d32742d1057c7bc33bd4c577afcbd.zip | |
write used OpenSSL library version to debug.log
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 5c87af911..1024b6463 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> @@ -446,6 +447,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()); |