mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
Allow for types with leading underscore when checking error macros.
We have an increasing number of function declarations starting with '__owur'. Unfortunately, util/ck_errf.pl fails to detect them. A simple change fixes that issue. Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
parent
5956b110e3
commit
0223ca0987
@ -21,7 +21,7 @@ foreach $file (@ARGV)
|
||||
$func="";
|
||||
while (<IN>)
|
||||
{
|
||||
if (!/;$/ && /^\**([a-zA-Z].*[\s*])?([A-Za-z_0-9]+)\(.*([),]|$)/)
|
||||
if (!/;$/ && /^\**([a-zA-Z_].*[\s*])?([A-Za-z_0-9]+)\(.*([),]|$)/)
|
||||
{
|
||||
/^([^()]*(\([^()]*\)[^()]*)*)\(/;
|
||||
$1 =~ /([A-Za-z_0-9]*)$/;
|
||||
|
Loading…
x
Reference in New Issue
Block a user