diff options
author | Paweł Zuzelski <pawelz@pld-linux.org> | 2010-06-21 17:40:28 +0200 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-11-23 19:08:50 -0700 |
commit | e1d2e58570d620f25425e8f1c01131a426d9818e (patch) | |
tree | 7941f1af4ef365b85e442a7dffb5fcde35f667ee /src/uzbl-core.h | |
parent | fd7cbacdf11d3c54f0e1ce72b43bdd2b9b2387f9 (diff) |
ssl certs verification
Introduced config variables:
(string) ssl_ca_file
(int) ssl_verify
ssl_ca_file is openssl-style CAfile containing trusted root certificates.
ssl_verify value controls whether to verify remote certs. If it is set to
non-zero, uzbl won't connect to remote https site unless it validates cert.
Diffstat (limited to 'src/uzbl-core.h')
-rw-r--r-- | src/uzbl-core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uzbl-core.h b/src/uzbl-core.h index aa88feb..c0d7583 100644 --- a/src/uzbl-core.h +++ b/src/uzbl-core.h @@ -130,6 +130,11 @@ typedef struct { gint max_conns_host; } Network; +/* ssl */ +typedef struct { + gchar *ca_file; + gchar *verify_cert; +} Ssl; /* Behaviour */ typedef struct { @@ -185,6 +190,7 @@ typedef struct { GUI gui; State state; Network net; + Ssl ssl; Behaviour behave; Communication comm; Info info; |