try to accept all protocols; refs #75

master
Marc Wäckerlin 14 years ago
parent 4c19009a0c
commit 82b3f4ac5d
  1. 1
      swisssurfer/src/main.cxx

@ -224,6 +224,7 @@ int main(int argv, char** argc) try {
// std::clog.rdbuf((new std::stringstream)->rdbuf());
//............................................................................
QSslConfiguration sslConfig(QSslConfiguration::defaultConfiguration());
sslConfig.setProtocol(QSsl::AnyProtocol);
QList<QSslCertificate> certs(sslConfig.caCertificates());
certs.push_back(QSslCertificate(SWISSSIGN_EV_GOLD_CA_2009_G2));
certs.push_back(QSslCertificate(SWISSSIGN_GOLD_CA_G2));

Loading…
Cancel
Save