kea: Fix compilation without deprecated OpenSSL APIs
authorRosen Penev <redacted>
Thu, 4 Jul 2019 03:48:56 +0000 (20:48 -0700)
committerRosen Penev <redacted>
Thu, 4 Jul 2019 03:58:30 +0000 (20:58 -0700)
Forgot to add this one to the last pull request.

Signed-off-by: Rosen Penev <redacted>
net/kea/Makefile
net/kea/patches/010-openssl-deprecated.patch [new file with mode: 0644]

index 8ce9823c520944ef7846ae22a8fbacbec81fd1d3..c60ba9d1b1d207750ccb9bbb5017ca85d3fb1bee 100644 (file)
@@ -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 (file)
index 0000000..c8b438e
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT