openssl: bump to 1.1.1h
[openwrt/staging/chunkeey.git] / package / libs / openssl / patches / 130-dont-build-tests-fuzz.patch
1 From ba2fe646f2d9104a18b066e43582154049e9ffcb Mon Sep 17 00:00:00 2001
2 From: Eneas U de Queiroz <cote2004-github@yahoo.com>
3 Date: Thu, 27 Sep 2018 08:34:38 -0300
4 Subject: Do not build tests and fuzz directories
5
6 This shortens build time.
7
8 Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
9
10 diff --git a/Configure b/Configure
11 index 74d057c219..5813e9f8fe 100755
12 --- a/Configure
13 +++ b/Configure
14 @@ -318,7 +318,7 @@ my $auto_threads=1; # enable threads automatically? true by default
15 my $default_ranlib;
16
17 # Top level directories to build
18 -$config{dirs} = [ "crypto", "ssl", "engines", "apps", "test", "util", "tools", "fuzz" ];
19 +$config{dirs} = [ "crypto", "ssl", "engines", "apps", "util", "tools" ];
20 # crypto/ subdirectories to build
21 $config{sdirs} = [
22 "objects",
23 @@ -330,7 +330,7 @@ $config{sdirs} = [
24 "cms", "ts", "srp", "cmac", "ct", "async", "kdf", "store"
25 ];
26 # test/ subdirectories to build
27 -$config{tdirs} = [ "ossl_shim" ];
28 +$config{tdirs} = [];
29
30 # Known TLS and DTLS protocols
31 my @tls = qw(ssl3 tls1 tls1_1 tls1_2 tls1_3);