Q_OBJECT
public:
- SslServer(QObject *parent = 0);
+ SslServer(QObject *parent = nullptr);
bool hasPendingConnections() const override { return !_pendingConnections.isEmpty(); }
QTcpSocket *nextPendingConnection() override;
QSslCertificate _cert;
QSslKey _key;
QList<QSslCertificate> _ca;
- bool _isCertValid;
+ bool _isCertValid{false};
// Used when reloading certificates later
QString _sslCertPath; /// Path to the certificate file