openssl: remove the separate configuration menu, use the implicit one (via MENU:=1)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 12:42:08 +0000 (12:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 12:42:08 +0000 (12:42 +0000)
Fixes warning on selecting OPENSSL_ENGINE_CRYPTO if openssl is not selected

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48312

package/libs/openssl/Config.in

index e2aa10dfd5cad382a6d218205adcc39e9d119c30..3d76dab9292bb37819ac4e7dcb7cc3444cadde2f 100644 (file)
@@ -1,5 +1,4 @@
-menu "Configuration"
-       depends on PACKAGE_libopenssl
+if PACKAGE_libopenssl
 
 config OPENSSL_WITH_EC
        bool
@@ -16,10 +15,6 @@ config OPENSSL_WITH_SSL3
        default n
        prompt "Enable sslv3 support"
 
-config OPENSSL_ENGINE_CRYPTO
-       bool
-       prompt "Crypto acceleration support"
-
 config OPENSSL_ENGINE_DIGEST
        bool
        depends on OPENSSL_ENGINE_CRYPTO
@@ -30,4 +25,8 @@ config OPENSSL_HARDWARE_SUPPORT
        default n
        prompt "Enable hardware support"
 
-endmenu
+endif
+
+config OPENSSL_ENGINE_CRYPTO
+       bool
+       prompt "Crypto acceleration support" if PACKAGE_libopenssl