diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-02-28 09:35:42 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-02-28 09:35:42 +0000 |
commit | c4f588fbb7602d1c5d005a26bf4ba9d3aa3b89fa (patch) | |
tree | 7f8ef14d1109cd20712c62d740749e2025a3e856 /rc.c | |
parent | Update ChangeLog (diff) | |
download | w3m-c4f588fbb7602d1c5d005a26bf4ba9d3aa3b89fa.tar.gz w3m-c4f588fbb7602d1c5d005a26bf4ba9d3aa3b89fa.zip |
New option ssl_ca_default to explicitly use OpenSSL default paths
Diffstat (limited to '')
-rw-r--r-- | rc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -203,6 +203,7 @@ static int OptionEncode = FALSE; #define CMT_SSL_KEY_FILE N_("PEM encoded private key file of client") #define CMT_SSL_CA_PATH N_("Path to directory for PEM encoded certificates of CAs") #define CMT_SSL_CA_FILE N_("File consisting of PEM encoded certificates of CAs") +#define CMT_SSL_CA_DEFAULT N_("Use default locations for 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)") #ifdef SSL_CTX_set_min_proto_version @@ -634,6 +635,8 @@ struct param_ptr params7[] = { NULL}, {"ssl_ca_file", P_SSLPATH, PI_TEXT, (void *)&ssl_ca_file, CMT_SSL_CA_FILE, NULL}, + {"ssl_ca_default", P_INT, PI_ONOFF, (void *)&ssl_ca_default, + CMT_SSL_CA_DEFAULT, NULL}, #endif /* USE_SSL_VERIFY */ {NULL, 0, 0, NULL, NULL, NULL}, }; |