diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2018-01-06 10:22:10 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2018-01-06 10:49:57 +0000 |
commit | 762e28dc89fc80eb806d5da8a11ad05a036347fb (patch) | |
tree | 711b7c38ac03a4314e4ac6aac02b918f0f94081e /url.c | |
parent | Extend ssl_forbid_method to disable TLSv1.1 (diff) | |
download | w3m-762e28dc89fc80eb806d5da8a11ad05a036347fb.tar.gz w3m-762e28dc89fc80eb806d5da8a11ad05a036347fb.zip |
Fix multi-character character constant for ssl_forbid_method
Diffstat (limited to '')
-rw-r--r-- | url.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -338,9 +338,9 @@ openSSLHandle(int sock, char *hostname, char **p_cert) option |= SSL_OP_NO_TLSv1; if (strchr(ssl_forbid_method, 'T')) option |= SSL_OP_NO_TLSv1; - if (strchr(ssl_forbid_method, 't1.1')) - option |= SSL_OP_NO_TLSv1_1; - if (strchr(ssl_forbid_method, 'T1.1')) + if (strchr(ssl_forbid_method, '4')) + option |= SSL_OP_NO_TLSv1; + if (strchr(ssl_forbid_method, '5')) option |= SSL_OP_NO_TLSv1_1; } #ifdef SSL_OP_NO_COMPRESSION |