Permalink
Browse files

Merge #7520: LibreSSL doesn't define OPENSSL_VERSION, use LIBRESSL_VE…

…RSION_TEXT instead

a0a17b3 LibreSSL doesn't define OPENSSL_VERSION, use LIBRESSL_VERSION_TEXT instead (Pavel Janík)
  • Loading branch information...
laanwj committed Feb 12, 2016
2 parents 2f3f4af + a0a17b3 commit 621940e04090919f87d452723cfddd427e561812
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/init.cpp
View
@@ -1091,8 +1091,10 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
#else
#elif defined OPENSSL_VERSION
LogPrintf("Using OpenSSL version %s\n", OpenSSL_version(OPENSSL_VERSION));
#elif defined LIBRESSL_VERSION_TEXT
LogPrintf("Using %s\n", LIBRESSL_VERSION_TEXT);
#endif
#ifdef ENABLE_WALLET

0 comments on commit 621940e

Please sign in to comment.