diff options
author | Cy Schubert <cy@FreeBSD.org> | 2024-03-28 13:23:34 -0700 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2024-03-28 13:53:59 -0700 |
commit | c89426b1f238e3ad79444ac311cd9d11fd86ac5f (patch) | |
tree | 68b050a6f59a21c82903eed91105fc1091e4df9a /security/nmap-devel/files/patch-ncat__ncat_ssl.c | |
parent | security/nmap: Use internal pcre (diff) |
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.
Diffstat (limited to 'security/nmap-devel/files/patch-ncat__ncat_ssl.c')
-rw-r--r-- | security/nmap-devel/files/patch-ncat__ncat_ssl.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/nmap-devel/files/patch-ncat__ncat_ssl.c b/security/nmap-devel/files/patch-ncat__ncat_ssl.c new file mode 100644 index 000000000000..59468e4b465b --- /dev/null +++ b/security/nmap-devel/files/patch-ncat__ncat_ssl.c @@ -0,0 +1,13 @@ +--- ncat/ncat_ssl.c.orig 2022-08-29 17:09:47 UTC ++++ ncat/ncat_ssl.c +@@ -73,7 +73,9 @@ + #include <openssl/x509.h> + #include <openssl/x509v3.h> + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_STRUCTS 1 + #define FUNC_ASN1_STRING_data ASN1_STRING_get0_data + #else |