diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-14 15:19:37 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-10-03 22:16:10 +0200 |
commit | ab1e5495e45708f43f71e1f9e8872066dc8177c0 (patch) | |
tree | d65869cc089b1fae17916f002ceda2f469b1cdb8 /util/mkdef.pl | |
parent | 8effd8fa67689e1d4318cfda21604eef428a37cf (diff) | |
download | openssl-new-ab1e5495e45708f43f71e1f9e8872066dc8177c0.tar.gz |
Move ZLIB from 'platforms' to 'features'
Having it as a 'platform' was conceptually wrong from from the
beginning, and makes decoding more complicated than necessary.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7191)
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl index 2eccf1cf25..959a13d6a5 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -176,15 +176,12 @@ sub platform_filter { sub feature_filter { my $item = shift; - my %platforms = ( $item->platforms() ); my @features = ( $item->features() ); # True if no features are defined - return 1 if scalar @features == 0 && scalar keys %platforms == 0; + return 1 if scalar @features == 0; - my $verdict = - !( ( grep { $disabled_uc{$_} } @features ) - || ( grep { $_ eq 'ZLIB' && $disabled_uc{$_} } keys %platforms ) ); + my $verdict = ! grep { $disabled_uc{$_} } @features; if ($apiv) { foreach (@features) { |