Makefile.ssl -> Makefile
This commit is contained in:
parent
1bf955920a
commit
52272327f3
@ -98,7 +98,7 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
|
|||||||
"DEPRECATED" );
|
"DEPRECATED" );
|
||||||
|
|
||||||
my $options="";
|
my $options="";
|
||||||
open(IN,"<Makefile.ssl") || die "unable to open Makefile.ssl!\n";
|
open(IN,"<Makefile") || die "unable to open Makefile!\n";
|
||||||
while(<IN>) {
|
while(<IN>) {
|
||||||
$options=$1 if (/^OPTIONS=(.*)$/);
|
$options=$1 if (/^OPTIONS=(.*)$/);
|
||||||
}
|
}
|
||||||
@ -1139,7 +1139,7 @@ sub print_test_file
|
|||||||
sub get_version {
|
sub get_version {
|
||||||
local *MF;
|
local *MF;
|
||||||
my $v = '?';
|
my $v = '?';
|
||||||
open MF, 'Makefile.ssl' or return $v;
|
open MF, 'Makefile' or return $v;
|
||||||
while (<MF>) {
|
while (<MF>) {
|
||||||
$v = $1, last if /^VERSION=(.*?)\s*$/;
|
$v = $1, last if /^VERSION=(.*?)\s*$/;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user