From d244dd559d0e6e594e4a0f911e49509e8a7b158b Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sun, 1 May 2016 09:23:38 -0400 Subject: [PATCH] Handle multi-line "written by/for" comments. Reviewed-by: Richard Levitte --- util/copyright.pl | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.34.1