From e1d2e58570d620f25425e8f1c01131a426d9818e Mon Sep 17 00:00:00 2001 From: Paweł Zuzelski Date: Mon, 21 Jun 2010 17:40:28 +0200 Subject: 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. --- src/uzbl-core.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/uzbl-core.h') 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; -- cgit v1.2.3