diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-19 21:13:32 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-19 21:13:32 +0200 |
| commit | bfdc7d39485bbef90a65b79f6c3b0986133f530d (patch) | |
| tree | 7a50b6c9dc372cb302f064940c25826d0e1e07a1 /src/ssltrust.hpp | |
| parent | 63103aa8c7f5b56720da097c73aa99da25841d45 (diff) | |
| download | kristall-bfdc7d39485bbef90a65b79f6c3b0986133f530d.tar.gz | |
Reworks TLS trust to enable symmetry between HTTPS and Gemini
Diffstat (limited to 'src/ssltrust.hpp')
| -rw-r--r-- | src/ssltrust.hpp | 3 |
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 |
