Fixes warning on selecting OPENSSL_ENGINE_CRYPTO if openssl is not selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48312
-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