From: Rich Salz Date: Thu, 18 Jul 2019 19:40:12 +0000 (-0400) Subject: Don't complain if function name doesn't match X-Git-Tag: openssl-3.0.0-alpha1~1725 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=584410227ab3afd3d296408ca096409cd677ee10;p=oweals%2Fopenssl.git Don't complain if function name doesn't match The "function" argument is now unused in the XXXerr defines, so mkerr doesn't need to check if the value/name match. Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9413) --- diff --git a/util/mkerr.pl b/util/mkerr.pl index aae49ac237..956b66179a 100755 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -394,10 +394,6 @@ foreach my $file ( @source ) { $fnew{$2}++; } $ftrans{$3} = $func unless exists $ftrans{$3}; - if ( uc($func) ne $3 ) { - print STDERR "ERROR: mismatch $file:$linenr $func:$3\n"; - $errors++; - } print STDERR " Function $1 = $fcodes{$1}\n" if $debug; }