Browse Source

QGeoMapReplyQGC: disable noisy warning

QGC4.4
Julian Oes 9 months ago
parent
commit
9359fc4c1b
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 2
      src/QtLocationPlugin/QGeoMapReplyQGC.cpp

2
src/QtLocationPlugin/QGeoMapReplyQGC.cpp

@ -262,7 +262,7 @@ void QGeoTiledMapReplyQGC::setIgnoreSSLErrorsIfNeeded(QNetworkReply& networkRepl
const bool sslLibraryBuildIs1x = (QSslSocket::sslLibraryBuildVersionNumber() & 0xf0000000) == 0x10000000; const bool sslLibraryBuildIs1x = (QSslSocket::sslLibraryBuildVersionNumber() & 0xf0000000) == 0x10000000;
const bool sslLibraryIs3x = (QSslSocket::sslLibraryVersionNumber() & 0xf0000000) == 0x30000000; const bool sslLibraryIs3x = (QSslSocket::sslLibraryVersionNumber() & 0xf0000000) == 0x30000000;
if (sslLibraryBuildIs1x && sslLibraryIs3x) { if (sslLibraryBuildIs1x && sslLibraryIs3x) {
qWarning() << "Ignoring ssl certificates due to OpenSSL version mismatch"; //qWarning() << "Ignoring ssl certificates due to OpenSSL version mismatch";
QList<QSslError> errorsThatCanBeIgnored; QList<QSslError> errorsThatCanBeIgnored;
errorsThatCanBeIgnored << QSslError(QSslError::NoPeerCertificate); errorsThatCanBeIgnored << QSslError(QSslError::NoPeerCertificate);
networkReply.ignoreSslErrors(errorsThatCanBeIgnored); networkReply.ignoreSslErrors(errorsThatCanBeIgnored);

Loading…
Cancel
Save