Commit d244dd55 authored by Rich Salz's avatar Rich Salz
Browse files

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

parent cba792a1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;
}