From 4f4d692321384b4d2fb1ceeadbcf4e03d64cf92d Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Wed, 10 Feb 2021 20:15:54 +0900 Subject: New option ssl_min_version for OpenSSL 1.1 --- fm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fm.h') 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 -- cgit v1.2.3