New option ssl_cipher to specify ciphers for TLSv1.2 and below

This commit is contained in:
Tatsuya Kinoshita
2021-02-10 19:20:37 +09:00
parent 97c7d9b410
commit c01675d342
4 changed files with 16 additions and 3 deletions

5
fm.h
View File

@@ -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);