mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
wget: use explicit API version levels
Per Doug Freed's review comments. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user