there's a qt bug, ignore wrong ssl errors; refs #130

This commit is contained in:
Marc Wäckerlin
2012-06-11 14:39:33 +00:00
parent 6fbac22000
commit 0ed41c7f51

View File

@@ -231,6 +231,8 @@ class DownloadManager: public QObject {
<<cert->subjectInfo(QSslCertificate::CommonName);
if (err->certificate()==*cert) {
LOG<<"QT-BUG! Certificate matches known certificate";
//! @bug work around qt bug (Qt Mac 4.8.2)
reply->ignoreSslErrors(errors);
} else {
LOG<<"CERTIFICATE ERROR! Certificates are different";
}