Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[auth] Access authmanager through application
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/auth/qgsauthcertutils.cpp
|
@@ -1029,7 +1029,7 @@ QList<QSslError> QgsAuthCertUtils::validateCertChain( const QList<QSslCertificat |
|
|
for ( const auto &cert : certificateChain ) |
|
|
{ |
|
|
bool untrusted = false; |
|
|
for ( const auto &untrustedCert : QgsAuthManager::instance()->getUntrustedCaCerts() ) |
|
|
for ( const auto &untrustedCert : QgsApplication::authManager()->getUntrustedCaCerts() ) |
|
|
{ |
|
|
if ( cert.digest( ) == untrustedCert.digest( ) ) |
|
|
{ |
|
|