|
|
@ -585,12 +585,10 @@ QString Utils::Misc::libtorrentVersionString() |
|
|
|
|
|
|
|
|
|
|
|
QString Utils::Misc::opensslVersionString() |
|
|
|
QString Utils::Misc::opensslVersionString() |
|
|
|
{ |
|
|
|
{ |
|
|
|
#if (OPENSSL_VERSION_NUMBER >= 0x1010000f) |
|
|
|
// static initialization for usage in signal handler
|
|
|
|
static const auto version {QString::fromLatin1(OpenSSL_version(OPENSSL_VERSION))}; |
|
|
|
static const auto version {QString::fromLatin1(::OpenSSL_version(OPENSSL_VERSION)) |
|
|
|
#else |
|
|
|
.section(u' ', 1, 1)}; |
|
|
|
static const auto version {QString::fromLatin1(SSLeay_version(SSLEAY_VERSION))}; |
|
|
|
return version; |
|
|
|
#endif |
|
|
|
|
|
|
|
return version.section(u' ', 1, 1); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
QString Utils::Misc::zlibVersionString() |
|
|
|
QString Utils::Misc::zlibVersionString() |
|
|
|