diff options
| author | Philip Prindeville | 2026-02-08 20:42:32 +0000 |
|---|---|---|
| committer | Philip Prindeville | 2026-02-08 23:21:22 +0000 |
| commit | e885bdab7b80e2aebf0a5fcce7fbb13c20215c02 (patch) | |
| tree | 273074d536accadc296574efd3f3e2a7bb42769f | |
| parent | 79d60466683d9f265df5fb2beb581ceff58aed78 (diff) | |
| download | packages-e885bdab7b80e2aebf0a5fcce7fbb13c20215c02.tar.gz | |
wget: use explicit API version levels
Per Doug Freed's review comments.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
| -rw-r--r-- | net/wget/Makefile | 2 | ||||
| -rw-r--r-- | net/wget/patches/900-new-cert-api.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile index 5f36771300..e39a62f5f9 100644 --- a/net/wget/Makefile +++ b/net/wget/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wget PKG_VERSION:=1.25.0 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) diff --git a/net/wget/patches/900-new-cert-api.patch b/net/wget/patches/900-new-cert-api.patch index 4758fbe765..643f7cab63 100644 --- a/net/wget/patches/900-new-cert-api.patch +++ b/net/wget/patches/900-new-cert-api.patch @@ -4,7 +4,7 @@ if (opt.check_cert == CHECK_CERT_QUIET && pinsuccess) return success; -+#ifdef OPENSSL_NO_DEPRECATED_3_0 ++#if OPENSSL_API_LEVEL >= 30000 + cert = SSL_get1_peer_certificate (conn); +#else cert = SSL_get_peer_certificate (conn); |