aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore/Main.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-02 17:44:47 -0500
committermegamage <none@none>2009-06-02 17:44:47 -0500
commit81af1151940370a5be1be00c52fd9330747f31f2 (patch)
treeea0ff026737b425a958cff0ed97b07c5ea8094d4 /src/trinitycore/Main.cpp
parenta7794b6a528aeb05f85d6f9c19d24ad640f61821 (diff)
[7940] Print only warnings on SSLeay check. Author: XTZGZoReX
--HG-- branch : trunk
Diffstat (limited to 'src/trinitycore/Main.cpp')
-rw-r--r--src/trinitycore/Main.cpp9
1 files changed, 4 insertions, 5 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'