tRename SSL instances to TLS - surf - customized build of surf, the suckless webkit browser
 (HTM) git clone git://src.adamsgaard.dk/surf
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ee854bb09564f869c68d9d63ff8133cf9cf5fa10
 (DIR) parent 0247e91b0067c715b19dedd7a3012624ee61576a
 (HTM) Author: Quentin Rameau <quinq@fifth.space>
       Date:   Wed, 19 Apr 2017 17:45:20 +0200
       
       Rename SSL instances to TLS
       
       Diffstat:
         M config.def.h                        |       2 +-
         M surf.1                              |       2 +-
         M surf.c                              |       8 ++++----
       
       3 files changed, 6 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/config.def.h b/config.def.h
       t@@ -30,7 +30,7 @@ static Parameter defconfig[ParameterLast] = {
                SETB(SiteQuirks,         1),
                SETB(SpellChecking,      0),
                SETV(SpellLanguages,     ((char *[]){ "en_US", NULL })),
       -        SETB(StrictSSL,          1),
       +        SETB(StrictTLS,          1),
                SETB(Style,              1),
                SETF(ZoomLevel,          1.0),
        };
 (DIR) diff --git a/surf.1 b/surf.1
       t@@ -264,7 +264,7 @@ The second part of the indicators specifies modes of the web page itself.
        unencrypted
        .TP
        .B T
       -encrypted (SSL)
       +encrypted (TLS)
        .TP
        .B U
        attempted encryption but failed
 (DIR) diff --git a/surf.c b/surf.c
       t@@ -80,7 +80,7 @@ typedef enum {
                SiteQuirks,
                SpellChecking,
                SpellLanguages,
       -        StrictSSL,
       +        StrictTLS,
                Style,
                ZoomLevel,
                ParameterLast,
       t@@ -710,7 +710,7 @@ setparameter(Client *c, int refresh, ParamName p, const Arg *a)
                        return; /* do not update */
                case SpellLanguages:
                        return; /* do nothing */
       -        case StrictSSL:
       +        case StrictTLS:
                        webkit_web_context_set_tls_errors_policy(
                            webkit_web_view_get_context(c->view), a->b ?
                            WEBKIT_TLS_ERRORS_POLICY_FAIL :
       t@@ -960,9 +960,9 @@ newview(Client *c, WebKitWebView *rv)
                         * or one for each view */
                        webkit_web_context_set_process_model(context,
                            WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);
       -                /* ssl */
       +                /* TLS */
                        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);
                        /* disk cache */
                        webkit_web_context_set_cache_model(context,