openssl: change defaults: ENGINE:on, NPN:off, misc
[openwrt/openwrt.git] / package / libs / openssl / Config.in
index ecb9eea389b46c8fb7d9a5f6e3c97458d0167206..49f136e84521ea2ed906c42b441b0edf19b0dd5e 100644 (file)
@@ -96,7 +96,6 @@ config OPENSSL_WITH_DTLS
 
 config OPENSSL_WITH_NPN
        bool
-       default y
        prompt "Enable NPN support"
        help
                NPN is a TLS extension, obsoleted and replaced with ALPN,
@@ -246,10 +245,15 @@ comment "Engine/Hardware Support"
 
 config OPENSSL_ENGINE
        bool "Enable engine support"
+       default y
        help
                This enables alternative cryptography implementations,
                most commonly for interfacing with external crypto devices,
                or supporting new/alternative ciphers and digests.
+               If you compile the library with this option disabled, packages built
+               using an engine-enabled library (i.e. from the official repo) may
+               fail to run.  Compile and install the packages with engine support
+               disabled, and you should be fine.
                Note that you need to enable KERNEL_AIO to be able to build the
                afalg engine package.
 
@@ -271,12 +275,6 @@ config OPENSSL_ENGINE_BUILTIN_AFALG
                This enables use of hardware acceleration through the
                AF_ALG kernel interface.
 
-config OPENSSL_ENGINE_CRYPTO
-       # This symbol is deprecated.  Currently it is used by the openssh package.
-       # Once openwrt/packages#8272 is merged, this can be safely removed.
-       bool
-       default OPENSSL_ENGINE_BUILTIN_DEVCRYPTO || PACKAGE_libopenssl-devcrypto
-
 config OPENSSL_ENGINE_BUILTIN_DEVCRYPTO
        bool
        prompt "Acceleration support through /dev/crypto"