Skip to content
Permalink
Browse files

[auth] Remove dependency on SSL cert utils from auth config class

  • Loading branch information
dakcarto committed Nov 20, 2016
1 parent 9bb3235 commit a510516134ea767c65b8ff4e9768c7f8bc4f6b27
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/core/auth/qgsauthconfig.cpp
@@ -20,10 +20,9 @@

#include <QFile>
#include <QObject>
#include <QCryptographicHash>
#include <QUrl>

#include "qgsauthcertutils.h"


//////////////////////////////////////////////
// QgsAuthMethodConfig
@@ -302,7 +301,7 @@ const QString QgsPkiBundle::certId() const
{
return QString::null;
}
return QgsAuthCertUtils::shaHexForCert( mCert );
return QString( mCert.digest( QCryptographicHash::Sha1 ).toHex() );
}

void QgsPkiBundle::setClientCert( const QSslCertificate &cert )

0 comments on commit a510516

Please sign in to comment.
You can’t perform that action at this time.