mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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
|
|
@ -160,12 +160,11 @@ extern int main(int argc, char **argv)
|
|||
|
||||
sLog.outString("Using configuration file %s.", cfg_file);
|
||||
|
||||
sLog.outString("%s (Library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION));
|
||||
if (SSLeay() < 0x009080bfL)
|
||||
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]");
|
||||
}
|
||||
|
||||
///- and run the 'Master'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue