From bfdc7d39485bbef90a65b79f6c3b0986133f530d Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Fri, 19 Jun 2020 21:13:32 +0200 Subject: Reworks TLS trust to enable symmetry between HTTPS and Gemini --- src/ssltrust.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ssltrust.hpp') 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 #include #include +#include #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 -- cgit v1.2.3