openssl: add option to disable SRP support
[openwrt/openwrt.git] / package / libs / openssl / Config.in
index 70d520cd1c7c9c85ad63b7cfa2136a1193c33013..e1d9952a37b4ef403f5a64d56c305db5dbbac306 100644 (file)
@@ -1,13 +1,57 @@
-menu "Configuration"
-       depends on PACKAGE_libopenssl
+if PACKAGE_libopenssl
 
-config OPENSSL_ENGINE_CRYPTO
+config OPENSSL_WITH_EC
+       bool
+       default y
+       prompt "Enable elliptic curve support"
+
+config OPENSSL_WITH_EC2M
+        bool
+        depends on OPENSSL_WITH_EC
+        prompt "Enable ec2m support"
+
+config OPENSSL_WITH_SSL3
+       bool
+       default n
+       prompt "Enable sslv3 support"
+
+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
-       prompt "Crypto acceleration support"
+       default n
+       prompt "Enable NPN support"
+
+config OPENSSL_WITH_PSK
+       bool
+       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"
 
-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