Rename SSL instances to TLS

This commit is contained in:
Quentin Rameau 2017-04-19 17:45:20 +02:00
parent 0247e91b00
commit ee854bb095
3 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ static Parameter defconfig[ParameterLast] = {
SETB(SiteQuirks, 1), SETB(SiteQuirks, 1),
SETB(SpellChecking, 0), SETB(SpellChecking, 0),
SETV(SpellLanguages, ((char *[]){ "en_US", NULL })), SETV(SpellLanguages, ((char *[]){ "en_US", NULL })),
SETB(StrictSSL, 1), SETB(StrictTLS, 1),
SETB(Style, 1), SETB(Style, 1),
SETF(ZoomLevel, 1.0), SETF(ZoomLevel, 1.0),
}; };

2
surf.1
View File

@ -264,7 +264,7 @@ The second part of the indicators specifies modes of the web page itself.
unencrypted unencrypted
.TP .TP
.B T .B T
encrypted (SSL) encrypted (TLS)
.TP .TP
.B U .B U
attempted encryption but failed attempted encryption but failed

8
surf.c
View File

@ -80,7 +80,7 @@ typedef enum {
SiteQuirks, SiteQuirks,
SpellChecking, SpellChecking,
SpellLanguages, SpellLanguages,
StrictSSL, StrictTLS,
Style, Style,
ZoomLevel, ZoomLevel,
ParameterLast, ParameterLast,
@ -710,7 +710,7 @@ setparameter(Client *c, int refresh, ParamName p, const Arg *a)
return; /* do not update */ return; /* do not update */
case SpellLanguages: case SpellLanguages:
return; /* do nothing */ return; /* do nothing */
case StrictSSL: case StrictTLS:
webkit_web_context_set_tls_errors_policy( webkit_web_context_set_tls_errors_policy(
webkit_web_view_get_context(c->view), a->b ? webkit_web_view_get_context(c->view), a->b ?
WEBKIT_TLS_ERRORS_POLICY_FAIL : WEBKIT_TLS_ERRORS_POLICY_FAIL :
@ -960,9 +960,9 @@ newview(Client *c, WebKitWebView *rv)
* or one for each view */ * or one for each view */
webkit_web_context_set_process_model(context, webkit_web_context_set_process_model(context,
WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES); WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);
/* ssl */ /* TLS */
webkit_web_context_set_tls_errors_policy(context, webkit_web_context_set_tls_errors_policy(context,
curconfig[StrictSSL].val.b ? WEBKIT_TLS_ERRORS_POLICY_FAIL : curconfig[StrictTLS].val.b ? WEBKIT_TLS_ERRORS_POLICY_FAIL :
WEBKIT_TLS_ERRORS_POLICY_IGNORE); WEBKIT_TLS_ERRORS_POLICY_IGNORE);
/* disk cache */ /* disk cache */
webkit_web_context_set_cache_model(context, webkit_web_context_set_cache_model(context,