summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0002-Use-Debian-s-ca-certificates.patch21
-rw-r--r--debian/patches/series1
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0002-Use-Debian-s-ca-certificates.patch b/debian/patches/0002-Use-Debian-s-ca-certificates.patch
new file mode 100644
index 0000000..7a7a865
--- /dev/null
+++ b/debian/patches/0002-Use-Debian-s-ca-certificates.patch
@@ -0,0 +1,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)
+ {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..acae44b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0002-Use-Debian-s-ca-certificates.patch