summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5dafdac)
When the core is compiled with SSL support, but a certificate file is not present
or invalid display a verbose warning pointing to the FAQ.
SslServer::SslServer(QObject *parent)
: QTcpServer(parent)
{
SslServer::SslServer(QObject *parent)
: QTcpServer(parent)
{
- setCertificate(quasselDir().absolutePath() + "/quasselCert.pem");
+ if (! setCertificate(quasselDir().absolutePath() + "/quasselCert.pem")) {
+ qWarning()
+ << "SslServer: Unable to set certificate file\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.";
+ }
}
QTcpSocket *SslServer::nextPendingConnection() {
}
QTcpSocket *SslServer::nextPendingConnection() {