openssl: enable OPENSSL_WITH_DEPRECATED when OpenSSL is built as a build dep
[openwrt/staging/dedeckeh.git] / package / libs / openssl / Config.in
1 if PACKAGE_libopenssl
2
3 config OPENSSL_WITH_EC
4 bool
5 default y
6 prompt "Enable elliptic curve support"
7
8 config OPENSSL_WITH_EC2M
9 bool
10 depends on OPENSSL_WITH_EC
11 prompt "Enable ec2m support"
12
13 config OPENSSL_WITH_SSL3
14 bool
15 default n
16 prompt "Enable sslv3 support"
17
18 config OPENSSL_WITH_DEPRECATED
19 bool
20 default y
21 prompt "Include deprecated APIs"
22
23 config OPENSSL_NO_DEPRECATED
24 bool
25 default !OPENSSL_WITH_DEPRECATED
26
27 config OPENSSL_WITH_DTLS
28 bool
29 default n
30 prompt "Enable DTLS support"
31
32 config OPENSSL_WITH_COMPRESSION
33 bool
34 default n
35 prompt "Enable compression support"
36
37 config OPENSSL_WITH_NPN
38 bool
39 default y
40 prompt "Enable NPN support"
41
42 config OPENSSL_WITH_PSK
43 bool
44 default y
45 prompt "Enable PSK support"
46
47 config OPENSSL_WITH_SRP
48 bool
49 default y
50 prompt "Enable SRP support"
51
52 config OPENSSL_ENGINE_DIGEST
53 bool
54 depends on OPENSSL_ENGINE_CRYPTO
55 prompt "Digests acceleration support"
56
57 config OPENSSL_HARDWARE_SUPPORT
58 bool
59 default n
60 prompt "Enable hardware support"
61
62 config OPENSSL_OPTIMIZE_SPEED
63 bool
64 default n
65 prompt "Enable optimization for speed instead of size"
66
67 endif
68
69 config OPENSSL_ENGINE_CRYPTO
70 bool
71 select OPENSSL_HARDWARE_SUPPORT
72 prompt "Crypto acceleration support" if PACKAGE_libopenssl