]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Remove "openssl ifdef" handling
authorRich Salz <rsalz@akamai.com>
Mon, 17 May 2021 16:03:19 +0000 (12:03 -0400)
committerPauli <pauli@openssl.org>
Wed, 19 May 2021 00:36:01 +0000 (10:36 +1000)
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)

util/find-doc-nits

index f4cc771e5a855d42da7dec121abb65f2f9da3251..8a27a00bdfdff6e2028dffe0445dee1bba3a8b6b 100755 (executable)
@@ -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 -$_");
     }
 }