~ruther/guix-local

ref: 4e8efc15fb9082fb80726a2a37c4e6ebb13552fa guix-local/gnu/packages/patches/w3m-force-ssl_verify_server-on.patch -rw-r--r-- 597 bytes
4e8efc15 — Mark H Weaver gnu: linux-libre@4.1: Update to 4.1.29. 9 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Subject: Force ssl_verify_server on.

By default, SSL/TLS certificates are not verified. This enables the
verification.
---
 fm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fm.h b/fm.h
index 8378939..320906c 100644
--- a/fm.h
+++ b/fm.h
@@ -1135,7 +1135,7 @@ global int view_unseenobject init(TRUE);
 #endif
 
 #if defined(USE_SSL) && defined(USE_SSL_VERIFY)
-global int ssl_verify_server init(FALSE);
+global int ssl_verify_server init(TRUE);
 global char *ssl_cert_file init(NULL);
 global char *ssl_key_file init(NULL);
 global char *ssl_ca_path init(NULL);
-- 
2.6.4