mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge #7520: LibreSSL doesn't define OPENSSL_VERSION, use LIBRESSL_VERSION_TEXT instead
a0a17b3
LibreSSL doesn't define OPENSSL_VERSION, use LIBRESSL_VERSION_TEXT instead (Pavel Janík)
This commit is contained in:
commit
621940e040
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user