From 08fcd1b86979b422eb586e56459d6fe15333e500 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 17 Feb 2019 19:17:46 -0700 Subject: * Rewrite support for specific SSL encryption protocols, including a. Add a new variable: encryption-protocol-range, which can be used to specify the minimum and maximum versions of the TLS protocol that Alpine will attempt to use to encrypt its communication with the server. b. Add support for the Server Name Identification (SNI) extension needed for TLSv1.3. c. Remove the DTLS code. It was not being used. --- pith/conf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pith/conf.h') diff --git a/pith/conf.h b/pith/conf.h index 7648e355..474e9d5f 100644 --- a/pith/conf.h +++ b/pith/conf.h @@ -263,6 +263,8 @@ #define GLO_REMOTE_ABOOK_HISTORY vars[V_REMOTE_ABOOK_HISTORY].global_val.p #define VAR_REMOTE_ABOOK_VALIDITY vars[V_REMOTE_ABOOK_VALIDITY].current_val.p #define GLO_REMOTE_ABOOK_VALIDITY vars[V_REMOTE_ABOOK_VALIDITY].global_val.p +#define GLO_ENCRYPTION_RANGE vars[V_ENCRYPTION_RANGE].global_val.p +#define VAR_ENCRYPTION_RANGE vars[V_ENCRYPTION_RANGE].current_val.p /* Elm style save is obsolete in Pine 3.81 (see saved msg name rule) */ #define VAR_ELM_STYLE_SAVE vars[V_ELM_STYLE_SAVE].current_val.p #define GLO_ELM_STYLE_SAVE vars[V_ELM_STYLE_SAVE].global_val.p @@ -912,6 +914,7 @@ char **get_supported_options(void); unsigned reset_startup_rule(MAILSTREAM *); void free_pinerc_lines(PINERC_LINE **); void panic1(char *, char *); +int pith_ssl_encryption_version(char *); /* mandatory to implement prototypes */ int set_input_timeout(int); -- cgit v1.2.3-54-g00ecf