ports/security/nmap-devel/files/patch-ncat_ncat__ssl.h
Cy Schubert c89426b1f2 security/nmap-devel: New port
Introduce nmap development port. The development branch includes
prerequisite updates including the pcre2 replacement of pcre.
This port tracks the nmap/nmap github repo.
2024-03-28 13:53:59 -07:00

12 lines
407 B
C

--- ncat/ncat_ssl.h.orig 2022-08-25 07:51:59.000000000 -0700
+++ ncat/ncat_ssl.h 2022-09-28 08:44:14.564723000 -0700
@@ -67,7 +67,8 @@
#include <openssl/ssl.h>
#include <openssl/err.h>
#define NCAT_CA_CERTS_FILE "ca-bundle.crt"
+#define OPENSSL_API_COMPAT OPENSSL_VERSION_NUMBER
/* OPENSSL_API_LEVEL per OpenSSL 3.0: decimal MMmmpp */
#ifndef OPENSSL_API_LEVEL
# if OPENSSL_API_COMPAT < 0x900000L