restore 'Portions of this code' notice

(cherry picked from commit a299dbc566)
This commit is contained in:
Mark Andrews
2014-01-26 10:49:23 +11:00
parent 8cb5280608
commit 7bcdbf7e44
2 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
Portions of this code release fall under one or more of the
following Copyright notices. Please see individual source
files for details.
For binary releases also see: OpenSSL-LICENSE.
Copyright (C) 1996-2001 Nominum, Inc.

View File

@@ -354,6 +354,7 @@ foreach $file (keys %file_types) {
$/ = ""; # paragraph at a time
while (<SOURCE>) {
# Not very maintainable, but ok enough for now.
last if /Portions of this code/;
last unless
/[Cc]opyright/ ||
/See COPYRIGHT in the source root/ ||