X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsslserver.h;h=6ca1b915f531b00159168aa35b3fd1685d7b50ce;hp=518db2e4f749f51c6a5f124d0434592246b35ba8;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=ab7ef4d24f62b5848b628482b7762ebfc0b53e1a diff --git a/src/core/sslserver.h b/src/core/sslserver.h index 518db2e4..6ca1b915 100644 --- a/src/core/sslserver.h +++ b/src/core/sslserver.h @@ -33,7 +33,7 @@ class SslServer : public QTcpServer Q_OBJECT public: - SslServer(QObject *parent = 0); + SslServer(QObject *parent = nullptr); bool hasPendingConnections() const override { return !_pendingConnections.isEmpty(); } QTcpSocket *nextPendingConnection() override; @@ -73,7 +73,7 @@ private: QSslCertificate _cert; QSslKey _key; QList _ca; - bool _isCertValid; + bool _isCertValid{false}; // Used when reloading certificates later QString _sslCertPath; /// Path to the certificate file