Handle multi-line "written by/for" comments.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Rich Salz 2016-05-01 09:23:38 -04:00
parent cba792a1e9
commit d244dd559d

View File

@ -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;
}