aboutsummaryrefslogtreecommitdiff
path: root/src/ssltrust.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssltrust.hpp')
-rw-r--r--src/ssltrust.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ssltrust.hpp b/src/ssltrust.hpp
index 62d4985..15de44d 100644
--- a/src/ssltrust.hpp
+++ b/src/ssltrust.hpp
@@ -4,6 +4,7 @@
#include <QSslCertificate>
#include <QSslKey>
#include <QSettings>
+#include <QSslError>
#include "trustedhostcollection.hpp"
@@ -32,6 +33,8 @@ struct SslTrust
void save(QSettings & settings) const;
bool isTrusted(QUrl const & url, QSslCertificate const & certificate);
+
+ static bool isTrustRelated(QSslError::SslError err);
};
#endif // SSLTRUST_HPP