aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
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 /fm.h
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 'fm.h')
-rw-r--r--fm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fm.h b/fm.h
index 216cd53..9d1995e 100644
--- a/fm.h
+++ b/fm.h
@@ -1191,7 +1191,12 @@ global int ssl_path_modified init(FALSE);
* defined(USE_SSL_VERIFY) */
#ifdef USE_SSL
global char *ssl_forbid_method init("2, 3");
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
+global char *ssl_cipher init("DEFAULT:!LOW:!RC4:!EXP");
+#else
+global char *ssl_cipher init(NULL);
#endif
+#endif /* USE_SSL */
global int is_redisplay init(FALSE);
global int clear_buffer init(TRUE);