diff options
author | Rich Salz <rsalz@akamai.com> | 2021-05-17 12:03:19 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-19 10:36:01 +1000 |
commit | 47c88d453eabdf169861e984a0d5400b06b6d32b (patch) | |
tree | 13397c35040748452d3395ca18a700eff35aa00a /util/find-doc-nits | |
parent | e53ad1d8f29332c0ce4ec68d071286af01afbc38 (diff) |
Remove "openssl ifdef" handling
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15311)
Diffstat (limited to 'util/find-doc-nits')
-rwxr-xr-x | util/find-doc-nits | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index f4cc771e5a..8a27a00bdf 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -1034,7 +1034,6 @@ sub checkflags { my $doc = shift; my @cmdopts; my %docopts; - my %localskips; # Get the list of options in the command source file. my $active = 0; @@ -1069,12 +1068,6 @@ sub checkflags { while ( <CFH> ) { chop; last if /DESCRIPTION/; - if ( /=for openssl ifdef (.*)/ ) { - foreach my $f ( split / /, $1 ) { - $localskips{$f} = 1; - } - next; - } my $opt; if ( /\[B<-([^ >]+)/ ) { $opt = $1; @@ -1099,7 +1092,7 @@ sub checkflags { my @unimpl = sort grep { my $e = $_; !(grep /^\Q$e\E$/, @cmdopts) } keys %docopts; foreach ( @unimpl ) { next if $_ eq "-"; # Skip the -- end-of-flags marker - next if defined $skips{$_} || defined $localskips{$_}; + next if defined $skips{$_}; err("$doc: $cmd does not implement -$_"); } } |