mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7940] Print only warnings on SSLeay check.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
parent
db03f6e0da
commit
9166cd9ef3
3 changed files with 8 additions and 10 deletions
|
|
@ -163,12 +163,11 @@ extern int main(int argc, char **argv)
|
|||
while (pause > clock()) {}
|
||||
}
|
||||
|
||||
sLog.outString("%s (Library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION));
|
||||
sLog.outDetail("%s (Library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION));
|
||||
if (SSLeay() < 0x009080bfL )
|
||||
{
|
||||
sLog.outError("Outdated version of OpenSSL lib, Logins to server impossible!");
|
||||
sLog.outError("minimal required version [OpenSSL 0.9.8k]");
|
||||
return 1;
|
||||
sLog.outDetail("WARNING: Outdated version of OpenSSL lib. Logins to server impossible!");
|
||||
sLog.outDetail("WARNING: Minimal required version [OpenSSL 0.9.8k]");
|
||||
}
|
||||
|
||||
/// realmd PID file creation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue