packages/net/nmap/patches/001-fix-missing-includes.patch
neheb 7c4090f0c9 nmap: Fix compile with stripped down openssl. fix #3300
Signed-off by: Rosen Penev <rosenp@gmail.com>
2016-11-22 16:44:14 +01:00

14 lines
349 B
Diff

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>