diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 90943de3d..355143b70 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -15,6 +15,7 @@ while() { $options=$1 if (/^OPTIONS=(.*)$/); $INSTALLTOP=$1 if (/^INSTALLTOP=(.*$)/); } +close(IN); die "Makefile.ssl is not the toplevel Makefile!\n" if $ssl_version eq ""; diff --git a/util/mkdef.pl b/util/mkdef.pl index 1f05fe040..9987387a3 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -24,6 +24,7 @@ open(IN,") { $options=$1 if (/^OPTIONS=(.*)$/); } +close(IN); foreach (@ARGV, split(/ /, $options)) {