From: Philip Prindeville Date: Sun, 8 Feb 2026 20:42:32 +0000 (-0700) Subject: wget: use explicit API version levels X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e885bdab7b80e2aebf0a5fcce7fbb13c20215c02;p=feed%2Fpackages.git wget: use explicit API version levels Per Doug Freed's review comments. Signed-off-by: Philip Prindeville --- 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);