diff options
author | Rich Salz <rsalz@openssl.org> | 2016-05-01 09:23:38 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-02 08:27:39 -0400 |
commit | d244dd559d0e6e594e4a0f911e49509e8a7b158b (patch) | |
tree | 8151780473fec974aad7ee92ad30132b918b3bd4 | |
parent | cba792a1e941788cba7dc700a2ef59420e7f2522 (diff) | |
download | openssl-d244dd559d0e6e594e4a0f911e49509e8a7b158b.tar.gz |
Handle multi-line "written by/for" comments.
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r-- | util/copyright.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/copyright.pl b/util/copyright.pl index ccc70af63f..4367f152a6 100644 --- a/util/copyright.pl +++ b/util/copyright.pl @@ -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; } |