From eb0782ec90b7a7f0dda1001b788a6748c32f2ee3 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Thu, 13 Dec 2012 19:50:23 +0100 Subject: [PATCH] Check certificate fingerprints reported back from neon. --- src/mirall/sslerrordialog.cpp | 2 +- src/mirall/sslerrordialog.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mirall/sslerrordialog.cpp b/src/mirall/sslerrordialog.cpp index 5f36446c6f..39b0b3c595 100644 --- a/src/mirall/sslerrordialog.cpp +++ b/src/mirall/sslerrordialog.cpp @@ -126,7 +126,7 @@ bool SslErrorDialog::setErrorList( QList errors ) return false; } -static QByteArray formatHash(const QByteArray &fmhash) +QByteArray SslErrorDialog::formatHash(const QByteArray &fmhash) { QByteArray hash; int steps = fmhash.length()/2; diff --git a/src/mirall/sslerrordialog.h b/src/mirall/sslerrordialog.h index 362838f51c..113cc18880 100644 --- a/src/mirall/sslerrordialog.h +++ b/src/mirall/sslerrordialog.h @@ -38,6 +38,8 @@ public: bool trustConnection(); void setCustomConfigHandle( const QString& ); + + static QByteArray formatHash(const QByteArray &); signals: public slots: