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