aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-02-10 11:15:54 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-02-10 12:51:44 +0000
commit4f4d692321384b4d2fb1ceeadbcf4e03d64cf92d (patch)
tree3185cc4239fb1fd43032d89a853f1649b091f746 /fm.h
parentNew option ssl_cipher to specify ciphers for TLSv1.2 and below (diff)
downloadw3m-4f4d692321384b4d2fb1ceeadbcf4e03d64cf92d.tar.gz
w3m-4f4d692321384b4d2fb1ceeadbcf4e03d64cf92d.zip
New option ssl_min_version for OpenSSL 1.1
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fm.h b/fm.h
index 9d1995e..1f884be 100644
--- a/fm.h
+++ b/fm.h
@@ -1191,6 +1191,9 @@ global int ssl_path_modified init(FALSE);
* defined(USE_SSL_VERIFY) */
#ifdef USE_SSL
global char *ssl_forbid_method init("2, 3");
+#ifdef SSL_CTX_set_min_proto_version
+global char *ssl_min_version init(NULL);
+#endif
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
global char *ssl_cipher init("DEFAULT:!LOW:!RC4:!EXP");
#else