Package: nmap / 7.70+dfsg1-6

0002-Use-Debian-s-ca-certificates.patch Patch series | download
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(-)

diff --git a/ncat/ncat_posix.c b/ncat/ncat_posix.c
index 3b01936..f7510d8 100644
--- a/ncat/ncat_posix.c
+++ b/ncat/ncat_posix.c
@@ -415,7 +415,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)
 {