mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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("Using configuration file %s.", cfg_file);
|
||||||
|
|
||||||
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)
|
if (SSLeay() < 0x009080bfL )
|
||||||
{
|
{
|
||||||
sLog.outError("Outdated version of OpenSSL lib, Logins to server impossible!");
|
sLog.outDetail("WARNING: Outdated version of OpenSSL lib. Logins to server impossible!");
|
||||||
sLog.outError("minimal required version [OpenSSL 0.9.8k]");
|
sLog.outDetail("WARNING: Minimal required version [OpenSSL 0.9.8k]");
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///- and run the 'Master'
|
///- and run the 'Master'
|
||||||
|
|
|
||||||
|
|
@ -163,12 +163,11 @@ extern int main(int argc, char **argv)
|
||||||
while (pause > clock()) {}
|
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 )
|
if (SSLeay() < 0x009080bfL )
|
||||||
{
|
{
|
||||||
sLog.outError("Outdated version of OpenSSL lib, Logins to server impossible!");
|
sLog.outDetail("WARNING: Outdated version of OpenSSL lib. Logins to server impossible!");
|
||||||
sLog.outError("minimal required version [OpenSSL 0.9.8k]");
|
sLog.outDetail("WARNING: Minimal required version [OpenSSL 0.9.8k]");
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// realmd PID file creation
|
/// realmd PID file creation
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7939"
|
#define REVISION_NR "7940"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue