mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
LibreSSL doesn't define OPENSSL_VERSION, use LIBRESSL_VERSION_TEXT instead
This commit is contained in:
parent
3cd836c1d8
commit
a0a17b3e44
@ -1034,8 +1034,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