openssl: backport devcrypto changes from master
[openwrt/openwrt.git] / package / libs / openssl / patches / 130-dont-build-tests-fuzz.patch
1 From e2339aa9c68837089d17cf309022cee497fe2412 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 --- a/Configure
11 +++ b/Configure
12 @@ -302,7 +302,7 @@ my $auto_threads=1; # enable threads
13 my $default_ranlib;
14
15 # Top level directories to build
16 -$config{dirs} = [ "crypto", "ssl", "engines", "apps", "test", "util", "tools", "fuzz" ];
17 +$config{dirs} = [ "crypto", "ssl", "engines", "apps", "util", "tools" ];
18 # crypto/ subdirectories to build
19 $config{sdirs} = [
20 "objects",
21 @@ -314,7 +314,7 @@ $config{sdirs} = [
22 "cms", "ts", "srp", "cmac", "ct", "async", "kdf", "store"
23 ];
24 # test/ subdirectories to build
25 -$config{tdirs} = [ "ossl_shim" ];
26 +$config{tdirs} = [];
27
28 # Known TLS and DTLS protocols
29 my @tls = qw(ssl3 tls1 tls1_1 tls1_2 tls1_3);