summaryrefslogtreecommitdiff
path: root/security/nmap/files/patch-ncat_ncat__ssl.c
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2016-09-29 22:21:51 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2016-09-29 22:21:51 +0000
commitf25e8b92df88c06d49030921eca49a90b4432dc2 (patch)
tree9f8af38b99936c668af477dc9092e4ef8a64ba1b /security/nmap/files/patch-ncat_ncat__ssl.c
parentprint/harfbuzz: update to 1.3.2 (diff)
- update to 7.30
Changelog: https://nmap.org/changelog.html
Notes
Notes: svn path=/head/; revision=422952
Diffstat (limited to 'security/nmap/files/patch-ncat_ncat__ssl.c')
-rw-r--r--security/nmap/files/patch-ncat_ncat__ssl.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/security/nmap/files/patch-ncat_ncat__ssl.c b/security/nmap/files/patch-ncat_ncat__ssl.c
deleted file mode 100644
index db7b5f4366e3..000000000000
--- a/security/nmap/files/patch-ncat_ncat__ssl.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- ncat/ncat_ssl.c.orig 2016-08-01 09:34:56 UTC
-+++ ncat/ncat_ssl.c
-@@ -315,7 +315,7 @@ static int cert_match_dnsname(X509 *cert
-
- /* We must copy this address into a temporary variable because ASN1_item_d2i
- increments it. We don't want it to corrupt ext->value->data. */
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- data = ext->value->data;
- #else
- ASN1_OCTET_STRING* asn1_str = X509_EXTENSION_get_data(ext);
-@@ -328,7 +328,7 @@ static int cert_match_dnsname(X509 *cert
- presence of null bytes. */
- #if (OPENSSL_VERSION_NUMBER > 0x00907000L)
- if (method->it != NULL) {
-- #if OPENSSL_VERSION_NUMBER < 0x10100000L
-+ #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- gen_names = (STACK_OF(GENERAL_NAME) *) ASN1_item_d2i(NULL,
- (const unsigned char **) &data,
- ext->value->length, ASN1_ITEM_ptr(method->it));
-@@ -339,7 +339,7 @@ static int cert_match_dnsname(X509 *cert
- asn1_str_a->length, ASN1_ITEM_ptr(method->it));
- #endif
- } else {
-- #if OPENSSL_VERSION_NUMBER < 0x10100000L
-+ #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- gen_names = (STACK_OF(GENERAL_NAME) *) method->d2i(NULL,
- (const unsigned char **) &data,
- ext->value->length);