mirror of
https://github.com/openssl/openssl.git
synced 2024-12-24 01:13:51 +08:00
Handle multi-line "written by/for" comments.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
cba792a1e9
commit
d244dd559d
@ -30,6 +30,12 @@ sub check_comment()
|
||||
}
|
||||
}
|
||||
|
||||
# Look for a multi-line "written by" comment.
|
||||
if ( ! $skipit ) {
|
||||
my $text = join('', @lines);
|
||||
$skipit = 1 if $text =~ m/Written by.*for the OpenSSL Project/is;
|
||||
}
|
||||
|
||||
print @lines unless $skipit;
|
||||
return $skipit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user