X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsslserver.cpp;h=5a61a31b740e38f305d600d31b8dd8174f88da33;hb=6579cd49c867ce3fb6c99127851a881ea82d1b1b;hp=b19ee5fb2de1f71b19503702531b20b0f90c4d7f;hpb=9a36f8e55bfa485467e093fba669841fdfacda2f;p=quassel.git diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index b19ee5fb..5a61a31b 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -18,16 +18,19 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#ifndef QT_NO_OPENSSL - #include "sslserver.h" -#include +#ifndef QT_NO_OPENSSL +# include +#endif + #include #include #include "util.h" +#ifndef QT_NO_OPENSSL + SslServer::SslServer(QObject *parent) : QTcpServer(parent) { @@ -42,9 +45,9 @@ SslServer::SslServer(QObject *parent) _certIsValid = !_cert.isNull() && _cert.isValid() && !_key.isNull(); if(!_certIsValid) { - qWarning() << "SslServer: SSL Certificate is either missing or has wrong format!"; - qWarning() << " make sure that ~/.quassel/quasselCert.pem is pem format and contains the cert and an rsa key!"; - qWarning() << "SslServer: this Quassel Core cannot provide SSL!"; + qWarning() << "SslServer: SSL Certificate is either missing or has a wrong format!\n" + << " Quassel Core will still work, but cannot provide SSL for client connections.\n" + << " Please see http://quassel-irc.org/faq/cert to learn how to enable SSL support."; } }