From 2fed4c089598b38d86531087fc41782f27c23c26 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Tue, 21 Feb 2023 15:54:16 +0100 Subject: getdns: fix compilation with OPENSSL_NO_DEPRECATED SSL_get_peer_certificate() is deprecated, OpenSSL v3.0 added SSL_get0_peer_certificate() and SSL_get1_peer_certificate(). Use the latter since the return value is explicitely X509_free()ed here, see [0]. [0] https://www.openssl.org/docs/manmaster/man3/SSL_get_peer_certificate.html Signed-off-by: Andre Heider --- libs/getdns/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/getdns/Makefile') diff --git a/libs/getdns/Makefile b/libs/getdns/Makefile index 9a4b838bd..f9825493b 100644 --- a/libs/getdns/Makefile +++ b/libs/getdns/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=getdns PKG_VERSION:=1.7.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE -- cgit v1.2.3