[Commits] [SCM] clawsker branch, master, updated. 1.3.0-8-g3ad1b26

mones at claws-mail.org mones at claws-mail.org
Fri Dec 21 20:26:36 CET 2018


The branch, master has been updated
       via  3ad1b26afa004ebed74f003b29bb8f039e18091b (commit)
      from  2187c844f6180f61896b706d5ceb208f2cf5a7d3 (commit)

Summary of changes:
 clawsker |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 3ad1b26afa004ebed74f003b29bb8f039e18091b
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Dec 21 20:26:03 2018 +0100

    Support new account hidden preference “use_tls_sni”

diff --git a/clawsker b/clawsker
index 3791165..d3a005f 100755
--- a/clawsker
+++ b/clawsker
@@ -212,6 +212,8 @@ sub _ {
     h_acc_gtls_set => _('Enables using user provided GnuTLS priority string.'),
     l_acc_gtls_pri => _('GnuTLS priority'),
     h_acc_gtls_pri => _('Value to use as GnuTLS priority string if custom priority check is enabled. Otherwise this value is ignored.'),
+    l_acc_tls_sni => _('Use TLS SNI extension'),
+    h_acc_tls_sni => _('Enables sending your hostname, if available, so the server can select the appropriate certificate for your domain. Useful for servers which host multiple domains on the same IP address.'),
 
     l_plu_gpg_alimit => _('Autocompletion limit'),
     h_plu_gpg_alimit => _('Limits the number of addresses obtained from keyring through autocompletion. Use 0 to get all matches.'),
@@ -1959,14 +1961,24 @@ sub new_winpos_page() {
         '3.9.0.181',
         '0',
     ],
+    tls_sni => [
+        'use_tls_sni',
+        $xl::s{l_acc_tls_sni},
+        $xl::s{h_acc_tls_sni},
+        'bool',
+        '3.17.2.16',
+        '0',
+    ],
 );
 
 sub new_account_subpage($) {
     my ($akey) = @_;
-    return new_grid_pack (1, 3, [
+    return new_grid_pack (1, 5, [
         [ _('GnuTLS priority') ],
         [ new_check_button_for (\%pr::acc, 'tls_set', $ACHPVALUE{$akey}) ],
-        [ new_text_box_for_nchar (\%pr::acc, 'tls_pri', $ACHPVALUE{$akey}) ]
+        [ new_text_box_for_nchar (\%pr::acc, 'tls_pri', $ACHPVALUE{$akey}) ],
+        [ _('Server Name Indication') ],
+        [ new_check_button_for (\%pr::acc, 'tls_sni', $ACHPVALUE{$akey}) ],
     ]);
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list