diff options
author | megamage <none@none> | 2009-06-02 17:44:47 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-02 17:44:47 -0500 |
commit | 81af1151940370a5be1be00c52fd9330747f31f2 (patch) | |
tree | ea0ff026737b425a958cff0ed97b07c5ea8094d4 /src | |
parent | a7794b6a528aeb05f85d6f9c19d24ad640f61821 (diff) |
[7940] Print only warnings on SSLeay check. Author: XTZGZoReX
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/trinitycore/Main.cpp | 9 | ||||
-rw-r--r-- | src/trinityrealm/Main.cpp | 7 |
2 files changed, 7 insertions, 9 deletions
diff --git a/src/trinitycore/Main.cpp b/src/trinitycore/Main.cpp index 46db54c649f..34a9cc3b2f1 100644 --- a/src/trinitycore/Main.cpp +++ b/src/trinitycore/Main.cpp @@ -154,12 +154,11 @@ extern int main(int argc, char **argv) while (pause > clock()) {} } - 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' diff --git a/src/trinityrealm/Main.cpp b/src/trinityrealm/Main.cpp index 7d36f4c9a59..af89643795a 100644 --- a/src/trinityrealm/Main.cpp +++ b/src/trinityrealm/Main.cpp @@ -164,12 +164,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]"); } sLog.outString( "%s (realm-daemon)", _FULLVERSION ); |