openssl: remove the separate configuration menu, use the implicit one (via MENU:=1)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jan 2016 12:42:08 +0000 (12:42 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48312 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libs/openssl/Config.in

index e2aa10d..3d76dab 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