aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-05-01 09:23:38 -0400
committerRich Salz <rsalz@openssl.org>2016-05-02 08:27:39 -0400
commitd244dd559d0e6e594e4a0f911e49509e8a7b158b (patch)
tree8151780473fec974aad7ee92ad30132b918b3bd4
parentcba792a1e941788cba7dc700a2ef59420e7f2522 (diff)
downloadopenssl-d244dd559d0e6e594e4a0f911e49509e8a7b158b.tar.gz
Handle multi-line "written by/for" comments.
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r--util/copyright.pl6
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;
}