Merge branch 'gnome-updates'
[jackhill/guix/guix.git] / gnu / packages / patches / w3m-disable-sslv2-and-sslv3.patch
CommitLineData
62339e2d
LF
1Subject: Disable SSLv2 and SSLv3.
2
3The only remaining methods are TLSv1.* (the code never distinguishes
4between TLSv1.0, TLSv1.1, and TLSv1.2).
5---
6 fm.h | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9diff --git a/fm.h b/fm.h
10index 320906c..ddcd4fc 100644
11--- a/fm.h
12+++ b/fm.h
13@@ -1144,7 +1144,7 @@ global int ssl_path_modified init(FALSE);
14 #endif /* defined(USE_SSL) &&
15 * defined(USE_SSL_VERIFY) */
16 #ifdef USE_SSL
17-global char *ssl_forbid_method init(NULL);
18+global char *ssl_forbid_method init("2, 3");
19 #endif
20
21 global int is_redisplay init(FALSE);
22--
232.6.4
24