From 82b3f4ac5d8bff26aa5e21fe95edb2e3cd23fce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 14 Jun 2011 12:41:30 +0000 Subject: [PATCH] try to accept all protocols; refs #75 --- swisssurfer/src/main.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/swisssurfer/src/main.cxx b/swisssurfer/src/main.cxx index 24e8afb..a89fb0d 100644 --- a/swisssurfer/src/main.cxx +++ b/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 certs(sslConfig.caCertificates()); certs.push_back(QSslCertificate(SWISSSIGN_EV_GOLD_CA_2009_G2)); certs.push_back(QSslCertificate(SWISSSIGN_GOLD_CA_G2));