openssl: add option to disable SRP support
[openwrt/openwrt.git] / package / libs / openssl / Config.in
index b0a29c5e643a9518445349bde5dfe1c66a41b138..e1d9952a37b4ef403f5a64d56c305db5dbbac306 100644 (file)
@@ -1,5 +1,4 @@
-menu "Configuration"
-       depends on PACKAGE_libopenssl
+if PACKAGE_libopenssl
 
 config OPENSSL_WITH_EC
        bool
 
 config OPENSSL_WITH_EC
        bool
@@ -16,13 +15,43 @@ config OPENSSL_WITH_SSL3
        default n
        prompt "Enable sslv3 support"
 
        default n
        prompt "Enable sslv3 support"
 
-config OPENSSL_ENGINE_CRYPTO
+config OPENSSL_WITH_DEPRECATED
+       bool
+       default y
+       prompt "Include deprecated APIs"
+
+config OPENSSL_WITH_COMPRESSION
+       bool
+       default n
+       prompt "Enable compression support"
+
+config OPENSSL_WITH_NPN
+       bool
+       default n
+       prompt "Enable NPN support"
+
+config OPENSSL_WITH_PSK
        bool
        bool
-       prompt "Crypto acceleration support"
+       default y
+       prompt "Enable PSK support"
+
+config OPENSSL_WITH_SRP
+       bool
+       default y
+       prompt "Enable SRP support"
 
 config OPENSSL_ENGINE_DIGEST
        bool
        depends on OPENSSL_ENGINE_CRYPTO
        prompt "Digests acceleration support"
 
 
 config OPENSSL_ENGINE_DIGEST
        bool
        depends on OPENSSL_ENGINE_CRYPTO
        prompt "Digests acceleration support"
 
-endmenu
+config OPENSSL_HARDWARE_SUPPORT
+       bool
+       default n
+       prompt "Enable hardware support"
+
+endif
+
+config OPENSSL_ENGINE_CRYPTO
+       bool
+       prompt "Crypto acceleration support" if PACKAGE_libopenssl