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

Signed-off by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
neheb 2016-11-22 07:44:14 -08:00 committed by Nuno Goncalves
parent e16322cfa7
commit 7c4090f0c9
1 changed files with 14 additions and 0 deletions

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>