From: Daniel Carl Date: Wed, 24 May 2017 18:42:30 +0000 (+0200) Subject: Removed hard coded tls policy. X-Git-Url: https://git.owens.tech/assets/static/git-favicon.png/assets/static/git-favicon.png/git?a=commitdiff_plain;h=164e9399f858093d476b267e6a28ab2098e57d8a;p=vimb.git Removed hard coded tls policy. The policy is already set during setting initialization. --- 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);