Browse Source

nmap: Fix compile with stripped down openssl. fix #3300

Signed-off by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
neheb 8 years ago
committed by Nuno Goncalves
parent
commit
7c4090f0c9
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      net/nmap/patches/001-fix-missing-includes.patch

+ 14
- 0
net/nmap/patches/001-fix-missing-includes.patch View File

@ -0,0 +1,14 @@
diff --git a/ncat/ncat_ssl.c b/ncat/ncat_ssl.c
index ee8ca97..9ff495c 100644
--- a/ncat/ncat_ssl.c
+++ b/ncat/ncat_ssl.c
@@ -128,7 +128,9 @@
#include <stdio.h>
#include <openssl/ssl.h>
+#include <openssl/bn.h>
#include <openssl/err.h>
+#include <openssl/rsa.h>
#include <openssl/rand.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

Loading…
Cancel
Save