From efde7c454edc231658f7675eef75692548af7ceb Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 3 Jul 2019 20:48:56 -0700 Subject: [PATCH] kea: Fix compilation without deprecated OpenSSL APIs Forgot to add this one to the last pull request. Signed-off-by: Rosen Penev (cherry picked from commit 54d7bc119d971d80d700406cab56c58e922a65ab) --- net/kea/Makefile | 2 +- net/kea/patches/010-openssl-deprecated.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/kea/patches/010-openssl-deprecated.patch diff --git a/net/kea/Makefile b/net/kea/Makefile index 8ce9823c52..c60ba9d1b1 100644 --- a/net/kea/Makefile +++ b/net/kea/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kea PKG_VERSION:=1.5.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://ftp.isc.org/isc/kea/$(PKG_VERSION) diff --git a/net/kea/patches/010-openssl-deprecated.patch b/net/kea/patches/010-openssl-deprecated.patch new file mode 100644 index 0000000000..c8b438efc7 --- /dev/null +++ b/net/kea/patches/010-openssl-deprecated.patch @@ -0,0 +1,11 @@ +--- a/src/lib/cryptolink/openssl_link.cc ++++ b/src/lib/cryptolink/openssl_link.cc +@@ -79,7 +79,7 @@ CryptoLink::initialize() { + + std::string + CryptoLink::getVersion() { +- return (SSLeay_version(SSLEAY_VERSION)); ++ return (OpenSSL_version(OPENSSL_VERSION)); + } + + } // namespace cryptolink -- 2.30.2