X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsslserver.cpp;h=c7e1b351117f1c093f091b88903d903a0ee743cc;hb=a25d2ec9cf8caf283624eef270998c0ba9e903dd;hp=307c46ba72e12c979c5fca13faadc6d8f20065f8;hpb=0d66a6f9ed6ea90493bca69ff781a1131d981503;p=quassel.git diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index 307c46ba..c7e1b351 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -20,7 +20,7 @@ #include "sslserver.h" -#ifndef QT_NO_OPENSSL +#ifdef HAVE_SSL # include #endif @@ -30,7 +30,7 @@ #include "logger.h" #include "util.h" -#ifndef QT_NO_OPENSSL +#ifdef HAVE_SSL SslServer::SslServer(QObject *parent) : QTcpServer(parent) @@ -46,7 +46,7 @@ SslServer::SslServer(QObject *parent) _certIsValid = !_cert.isNull() && _cert.isValid() && !_key.isNull(); if(!_certIsValid) { - quWarning() << "SslServer: SSL Certificate is either missing or has a wrong format!\n" + 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."; } @@ -73,4 +73,4 @@ void SslServer::incomingConnection(int socketDescriptor) { } } -#endif // QT_NO_OPENSSL +#endif // HAVE_SSL