Removed hard coded tls policy.
authorDaniel Carl <danielcarl@gmx.de>
Wed, 24 May 2017 18:42:30 +0000 (20:42 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 24 May 2017 18:42:30 +0000 (20:42 +0200)
The policy is already set during setting initialization.

src/main.c

index 0de0da4..d59f796 100644 (file)
@@ -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);