there's a qt bug, ignore wrong ssl errors; refs #130
This commit is contained in:
@@ -231,6 +231,8 @@ class DownloadManager: public QObject {
|
|||||||
<<cert->subjectInfo(QSslCertificate::CommonName);
|
<<cert->subjectInfo(QSslCertificate::CommonName);
|
||||||
if (err->certificate()==*cert) {
|
if (err->certificate()==*cert) {
|
||||||
LOG<<"QT-BUG! Certificate matches known certificate";
|
LOG<<"QT-BUG! Certificate matches known certificate";
|
||||||
|
//! @bug work around qt bug (Qt Mac 4.8.2)
|
||||||
|
reply->ignoreSslErrors(errors);
|
||||||
} else {
|
} else {
|
||||||
LOG<<"CERTIFICATE ERROR! Certificates are different";
|
LOG<<"CERTIFICATE ERROR! Certificates are different";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user