X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsslserver.cpp;h=307c46ba72e12c979c5fca13faadc6d8f20065f8;hb=cb1b16fce88b240c735b942aad44a61a1dd3f28d;hp=b19ee5fb2de1f71b19503702531b20b0f90c4d7f;hpb=9a36f8e55bfa485467e093fba669841fdfacda2f;p=quassel.git diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index b19ee5fb..307c46ba 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -18,16 +18,20 @@ * 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 "logger.h" #include "util.h" +#ifndef QT_NO_OPENSSL + SslServer::SslServer(QObject *parent) : QTcpServer(parent) { @@ -42,9 +46,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!"; + quWarning() << "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."; } }