openssl: Make DTLS configurable.
[openwrt/openwrt.git] / package / libs / openssl / Config.in
index 34eff28338be5147f0ed06666c4de94961926ce2..dbcd11abfc00bd75ac6a585ee5bb47d910d23704 100644 (file)
@@ -1,5 +1,4 @@
-menu "Configuration"
-       depends on PACKAGE_libopenssl
+if PACKAGE_libopenssl
 
 config OPENSSL_WITH_EC
        bool
@@ -11,13 +10,53 @@ config OPENSSL_WITH_EC2M
         depends on OPENSSL_WITH_EC
         prompt "Enable ec2m support"
 
-config OPENSSL_ENGINE_CRYPTO
+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_DTLS
+       bool
+       default n
+       prompt "Enable DTLS support"
+
+config OPENSSL_WITH_COMPRESSION
+       bool
+       default n
+       prompt "Enable compression support"
+
+config OPENSSL_WITH_NPN
+       bool
+       default y
+       prompt "Enable NPN support"
+
+config OPENSSL_WITH_PSK
+       bool
+       default y
+       prompt "Enable PSK support"
+
+config OPENSSL_WITH_SRP
        bool
-       prompt "Crypto acceleration support"
+       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