From 3ecf0baa747f8b0fa3e7f483ccde1a0ae40e3749 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Fri, 21 Jul 2023 20:06:36 +0200 Subject: [PATCH] package/libopenssl: remove deprecated options Fixes configure warning: ***** Deprecated options: no-crypto-mdebug-backtrace, no-ssl2 no-ssl2 option was re-added in 2016: https://github.com/openssl/openssl/commit/e80381e1a3309f5d4a783bcaa508a90187a48882 "We warn that it's deprecated, and ignore it otherwise." Quoting https://www.openssl.org/docs/man3.0/man3/SSLv23_method.html "Support for SSLv2 [... was] removed in OpenSSL 1.1.0." Therefore we do not need any legacy handling for BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL2. no-crypto-mdebug-backtrace was removed in OpenSSL 3.0: https://github.com/openssl/openssl/blob/master/NEWS.md?plain=1#L161 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/libopenssl/Config.in | 4 ---- package/libopenssl/libopenssl.mk | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/package/libopenssl/Config.in b/package/libopenssl/Config.in index 7a3f56a512..26c8f4c085 100644 --- a/package/libopenssl/Config.in +++ b/package/libopenssl/Config.in @@ -97,10 +97,6 @@ config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL bool "enable SSL" default y -config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL2 - bool "enable SSL2" - default y - config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3 bool "enable SSL3" default y diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index 7a4e0dfca2..06eac8f3d9 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -97,12 +97,11 @@ define LIBOPENSSL_CONFIGURE_CMDS $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_WHIRLPOOL),,no-whirlpool) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH),,no-bf) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL),,no-ssl) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL2),,no-ssl2) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3),,no-ssl3) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_WEAK_SSL),,no-weak-ssl-ciphers) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK),,no-psk) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST),,no-cast) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_UNSECURE),,no-unit-test no-crypto-mdebug-backtrace no-crypto-mdebug no-autoerrinit) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_UNSECURE),,no-unit-test no-crypto-mdebug no-autoerrinit) \ $(if $(BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE),,no-dynamic-engine ) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP),,no-comp) \ $(if $(BR2_STATIC_LIBS),zlib,zlib-dynamic) \