summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-Use-Debian-s-ca-certificates.patch
blob: 7a7a865dab7dfe3b70a227f66e504769f2a48dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Hilko Bengen <bengen@debian.org>
Date: Fri, 30 May 2014 20:55:30 +0200
Subject: Use Debian's ca-certificates

---
 ncat/ncat_posix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: nmap/ncat/ncat_posix.c
===================================================================
--- nmap.orig/ncat/ncat_posix.c
+++ nmap/ncat/ncat_posix.c
@@ -356,7 +356,7 @@ void set_lf_mode(void)
 
 #ifdef HAVE_OPENSSL
 
-#define NCAT_CA_CERTS_PATH (NCAT_DATADIR "/" NCAT_CA_CERTS_FILE)
+#define NCAT_CA_CERTS_PATH "/etc/ssl/certs/ca-certificates.crt"
 
 int ssl_load_default_ca_certs(SSL_CTX *ctx)
 {