summaryrefslogtreecommitdiff
path: root/pith/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/conf.c')
-rw-r--r--pith/conf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/pith/conf.c b/pith/conf.c
index e8904e4..8de5427 100644
--- a/pith/conf.c
+++ b/pith/conf.c
@@ -384,7 +384,9 @@ CONF_TXT_T cf_text_system_certs_file[] = "Sets the path for the system ssl file
CONF_TXT_T cf_text_user_certs_path[] = "Sets the path for additional ssl certificates that the user trusts. Note\n#that this could be a list of paths, if the same\n# pinerc is used in different systems. Alpine always chooses the first one that\n# it finds. Value must be an absolute path.";
-CONF_TXT_T cf_text_user_certs_file[] = "Sets the path for a file that contains certificates that a user trusts.\nNote that this could be a list of container files,\n# if the same pinerc is used in different systems. Alpine always chooses the,\n# first one that it finds. Value must be an absolute path.";
+CONF_TXT_T cf_text_user_certs_file[] = "Sets the path for a file that contains certificates that a user trusts.\n#Note that this could be a list of container files,\n# if the same pinerc is used in different systems. Alpine always chooses the,\n# first one that it finds. Value must be an absolute path.";
+
+CONF_TXT_T cf_text_ciphers[] = "Colon separated list of ciphers that should be negotiated with the remote\n# ssl server upon connection.";
#endif
CONF_TXT_T cf_text_newmail_fifo_path[] = "Sets the filename for the newmail fifo (named pipe). Unix only.";
@@ -678,6 +680,8 @@ static struct variable variables[] = {
"User Certs Dir", cf_text_user_certs_file},
{"user-certs-file", 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0,
"User Certs File", cf_text_user_certs_file},
+{"ssl-ciphers", 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0,
+ "SSL Ciphers", cf_text_ciphers},
#endif
{"url-viewers", 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0,
"URL-Viewers", cf_text_browser},
@@ -2439,6 +2443,7 @@ init_vars(struct pine *ps, void (*cmds_f) (struct pine *, char **))
set_current_val(&vars[V_SSLCAFILE], TRUE, TRUE);
set_current_val(&vars[V_USERSSLCAPATH], TRUE, TRUE);
set_current_val(&vars[V_USERSSLCAFILE], TRUE, TRUE);
+ set_current_val(&vars[V_SSLCIPHERS], TRUE, TRUE);
#endif
#if !defined(DOS) && !defined(OS2) && !defined(LEAVEOUTFIFO)
set_current_val(&vars[V_FIFOPATH], TRUE, TRUE);
@@ -8055,6 +8060,8 @@ config_help(int var, int feature)
return(h_config_user_certs_path);
case V_USERSSLCAFILE :
return(h_config_user_certs_file);
+ case V_SSLCIPHERS :
+ return(h_config_ssl_ciphers);
#endif
#if !defined(DOS) && !defined(OS2) && !defined(LEAVEOUTFIFO)
case V_FIFOPATH :