From 584410227ab3afd3d296408ca096409cd677ee10 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Thu, 18 Jul 2019 15:40:12 -0400 Subject: [PATCH] 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) --- util/mkerr.pl | 4 ---- 1 file changed, 4 deletions(-) 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; } -- 2.25.1