Skip to content

Commit

Permalink
Remove "openssl ifdef" handling
Browse files Browse the repository at this point in the history
Reviewed-by: David von Oheimb <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#15311)
  • Loading branch information
richsalz authored and paulidale committed May 19, 2021
1 parent e53ad1d commit 47c88d4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions util/find-doc-nits
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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 -$_");
}
}
Expand Down

0 comments on commit 47c88d4

Please sign in to comment.