From 164e9399f858093d476b267e6a28ab2098e57d8a Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Wed, 24 May 2017 20:42:30 +0200
Subject: [PATCH] Removed hard coded tls policy.

The policy is already set during setting initialization.
---
 src/main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 0de0da4..d59f796 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1536,9 +1536,6 @@ static void vimb_setup(void)
                 WEBKIT_COOKIE_PERSISTENT_STORAGE_TEXT);
     }
 
-    /* TODO move to settings.c */
-    webkit_web_context_set_tls_errors_policy(ctx, TRUE ? WEBKIT_TLS_ERRORS_POLICY_FAIL : WEBKIT_TLS_ERRORS_POLICY_IGNORE);
-
     /* initialize the modes */
     vb_mode_add('n', normal_enter, normal_leave, normal_keypress, NULL);
     vb_mode_add('c', ex_enter, ex_leave, ex_keypress, ex_input_changed);
-- 
2.20.1