aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-02-10 10:20:37 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-02-10 11:01:56 +0000
commitc01675d34288018e46d8b92aacacac4151a85d8f (patch)
tree56a06ebbb3bd787682a429bee9313883117d49ae /rc.c
parentUpdate ChangeLog (diff)
downloadw3m-c01675d34288018e46d8b92aacacac4151a85d8f.tar.gz
w3m-c01675d34288018e46d8b92aacacac4151a85d8f.zip
New option ssl_cipher to specify ciphers for TLSv1.2 and below
Diffstat (limited to 'rc.c')
-rw-r--r--rc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.c b/rc.c
index 35e262c..521e830 100644
--- a/rc.c
+++ b/rc.c
@@ -205,6 +205,7 @@ static int OptionEncode = FALSE;
#define CMT_SSL_CA_FILE N_("File consisting of PEM encoded certificates of CAs")
#endif /* USE_SSL_VERIFY */
#define CMT_SSL_FORBID_METHOD N_("List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1, 6: TLSv1.2, 7: TLSv1.3)")
+#define CMT_SSL_CIPHER N_("SSL ciphers for TLSv1.2 and below (e.g. DEFAULT:@SECLEVEL=2)")
#endif /* USE_SSL */
#ifdef USE_COOKIE
#define CMT_USECOOKIE N_("Enable cookie processing")
@@ -612,6 +613,8 @@ struct param_ptr params6[] = {
struct param_ptr params7[] = {
{"ssl_forbid_method", P_STRING, PI_TEXT, (void *)&ssl_forbid_method,
CMT_SSL_FORBID_METHOD, NULL},
+ {"ssl_cipher", P_STRING, PI_TEXT, (void *)&ssl_cipher, CMT_SSL_CIPHER,
+ NULL},
#ifdef USE_SSL_VERIFY
{"ssl_verify_server", P_INT, PI_ONOFF, (void *)&ssl_verify_server,
CMT_SSL_VERIFY_SERVER, NULL},