Skip to content

Commit

Permalink
[auth] Access authmanager through application
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 26, 2017
1 parent ffb2903 commit 11ce639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/auth/qgsauthcertutils.cpp
Expand Up @@ -1029,7 +1029,7 @@ QList<QSslError> QgsAuthCertUtils::validateCertChain( const QList<QSslCertificat
for ( const auto &cert : certificateChain ) for ( const auto &cert : certificateChain )
{ {
bool untrusted = false; bool untrusted = false;
for ( const auto &untrustedCert : QgsAuthManager::instance()->getUntrustedCaCerts() ) for ( const auto &untrustedCert : QgsApplication::authManager()->getUntrustedCaCerts() )
{ {
if ( cert.digest( ) == untrustedCert.digest( ) ) if ( cert.digest( ) == untrustedCert.digest( ) )
{ {
Expand Down

0 comments on commit 11ce639

Please sign in to comment.