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
-menu "Configuration"
- depends on PACKAGE_libopenssl
+if PACKAGE_libopenssl
config OPENSSL_WITH_EC
bool
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
default n
prompt "Enable hardware support"
-endmenu
+endif
+
+config OPENSSL_ENGINE_CRYPTO
+ bool
+ prompt "Crypto acceleration support" if PACKAGE_libopenssl