From b0d454986a7da42755f1827c88b40db5140ca1c8 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Nov 2018 13:11:11 -0800 Subject: [PATCH] libnetconf2: Remove OpenSSL engine support It's not even used. Signed-off-by: Rosen Penev --- libs/libnetconf2/Makefile | 1 + .../patches/010-remove-engine.patch | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 libs/libnetconf2/patches/010-remove-engine.patch diff --git a/libs/libnetconf2/Makefile b/libs/libnetconf2/Makefile index 14bff561d9..25f10ea5aa 100644 --- a/libs/libnetconf2/Makefile +++ b/libs/libnetconf2/Makefile @@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnetconf2 PKG_VERSION:=0.12-r1 +PKG_RELEASE:=2 PKG_LICENSE:=BSD-3-Clause PKG_MAINTAINER:=Mislav Novakovic diff --git a/libs/libnetconf2/patches/010-remove-engine.patch b/libs/libnetconf2/patches/010-remove-engine.patch new file mode 100644 index 0000000000..8e49c144d7 --- /dev/null +++ b/libs/libnetconf2/patches/010-remove-engine.patch @@ -0,0 +1,33 @@ +From 5472ebd501c0558a9434a11b309f3b6a314c2168 Mon Sep 17 00:00:00 2001 +From: Rosen Penev +Date: Wed, 7 Nov 2018 16:58:42 -0800 +Subject: [PATCH] session: Remove engine.h include + +OpenSSL's engine API is not used except for a cleanup call. +--- + src/session.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/session.c b/src/session.c +index edf1bb4..fe90fa9 100644 +--- a/src/session.c ++++ b/src/session.c +@@ -36,7 +36,6 @@ + + #if defined(NC_ENABLED_SSH) || defined(NC_ENABLED_TLS) + +-# include + # include + # include + +@@ -1296,7 +1295,6 @@ static void + nc_ssh_destroy(void) + { + FIPS_mode_set(0); +- ENGINE_cleanup(); + CONF_modules_unload(1); + nc_thread_destroy(); + ssh_finalize(); +-- +2.19.1 + -- 2.30.2