hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
   bool
 
config BR2_PACKAGE_OPENSSL
   bool "openssl support"
   select BR2_PACKAGE_HAS_OPENSSL
   help
     Select the desired ssl library provider.
 
if BR2_PACKAGE_OPENSSL
 
choice
   prompt "ssl library"
   default BR2_PACKAGE_LIBOPENSSL
   help
     Select OpenSSL or LibreSSL.
 
config BR2_PACKAGE_LIBOPENSSL
   bool "openssl"
   select BR2_PACKAGE_ZLIB
   help
     A collaborative effort to develop a robust, commercial-grade,
     fully featured, and Open Source toolkit implementing the
     Secure Sockets Layer (SSL v2/v3) and Transport Security
     (TLS v1) as well as a full-strength general-purpose
     cryptography library.
 
     http://www.openssl.org/
 
     Note: Some helper scripts need perl.
 
source "package/libopenssl/Config.in"
 
config BR2_PACKAGE_LIBRESSL
   bool "libressl"
   depends on !BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
   # uClibc on noMMU doesn't provide __register_atfork()
   depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU)
   help
     LibreSSL is a version of the TLS/crypto stack forked from
     OpenSSL in 2014, with goals of modernizing the codebase,
     improving security, and applying best practice development
     processes.
 
     http://www.libressl.org/
 
source "package/libressl/Config.in"
 
endchoice
 
config BR2_PACKAGE_HAS_OPENSSL
   bool
 
config BR2_PACKAGE_PROVIDES_OPENSSL
   string
   default "libopenssl"  if BR2_PACKAGE_LIBOPENSSL
   default "libressl"  if BR2_PACKAGE_LIBRESSL
 
endif
 
# ensure libopenssl is used for the host variant
config BR2_PACKAGE_PROVIDES_HOST_OPENSSL
   string
   default "host-libopenssl"