aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-02-11 08:22:42 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-02-11 10:37:22 +0000
commit78eac4e57cdf3f190df9233187eae2c0e107faaa (patch)
treeb10655b04cd3991424558cd670e55dfb9e72055d
parentNew option -insecure to use insecure SSL config options (diff)
downloadw3m-78eac4e57cdf3f190df9233187eae2c0e107faaa.tar.gz
w3m-78eac4e57cdf3f190df9233187eae2c0e107faaa.zip
Mention -insecure option as a workaround for SSL error
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900984 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934493 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953045
-rw-r--r--url.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/url.c b/url.c
index 56f3222..7a31042 100644
--- a/url.c
+++ b/url.c
@@ -474,11 +474,8 @@ openSSLHandle(int sock, char *hostname, char **p_cert)
SSL_free(handle);
/* FIXME: gettextize? */
disp_err_message(Sprintf
- ("SSL error: %s"
-#ifdef SSL_CTX_set_min_proto_version
- ", a workaround might be: w3m -o ssl_cipher=ALL:@SECLEVEL=0 -o ssl_min_version=TLSv1.0 -o ssl_forbid_method= -o ssl_verify_server=0"
-#endif
- , ERR_error_string(ERR_get_error(), NULL))->ptr, FALSE);
+ ("SSL error: %s, a workaround might be: w3m -insecure",
+ ERR_error_string(ERR_get_error(), NULL))->ptr, FALSE);
return NULL;
}