mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
For change log, see:
https://nmap.org/changelog.html#7.95
A notable change is the switch from pcre to pcre2. This change is
reflected in Config.in and nmap.mk.
This commit also adds the sha256 hash, published at:
https://nmap.org/dist/sigs/nmap-7.95.tar.bz2.digest.txt
The package patches are also rebased on this new version. The nmap
package was failing to build since commit 8f88a644ed
"support/scripts/apply-patches.sh: set the maximum fuzz factor to 0".
The patch 0001 was regenerated with "git format-patch". This operation
renamed the patch file. This change is reflected in the
".checkpackageignore" entry.
Fixes:
http://autobuild.buildroot.org/results/417ef0b2a80e8ec5859813a9f16f773881899025
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 0a79771c302bf398150da78cd18b67cb9b67f47a Mon Sep 17 00:00:00 2001
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Date: Sat, 21 May 2022 17:51:37 +0200
|
|
Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0
|
|
|
|
Fix the following build failure with libressl >= 3.5.0:
|
|
|
|
Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)':
|
|
Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined
|
|
139 | EVP_CIPHER_CTX ctx;
|
|
| ^~~
|
|
|
|
Fixes:
|
|
- http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Upstream: https://github.com/nmap/nmap/pull/2480
|
|
[Julien: rebased patch on version 7.95]
|
|
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
|
---
|
|
nping/Crypto.cc | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/nping/Crypto.cc b/nping/Crypto.cc
|
|
index 6f05db6..1d11d55 100755
|
|
--- a/nping/Crypto.cc
|
|
+++ b/nping/Crypto.cc
|
|
@@ -69,7 +69,9 @@
|
|
#include <openssl/evp.h>
|
|
#include <openssl/err.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_EVP_PKEY 1
|
|
#else
|
|
#define EVP_MD_CTX_new EVP_MD_CTX_create
|
|
--
|
|
2.45.2
|
|
|