Commit e9722731 authored by Richard Levitte's avatar Richard Levitte
Browse files

OpenSSL::Test - small fixup

parent 753663a9
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -1016,15 +1016,10 @@ sub __fixup_prg {
	$prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []");
    }

    # We test both with and without extension.  The reason
    # is that we might be passed a complete file spec, with
    # extension.
    if ( ! -x $prog ) {
	my $prog = "$prog";
    # We test if the program to use exists.
    if ( ! -x $prog ) {
	$prog = undef;
    }
    }

    if (defined($prog)) {
	# Make sure to quotify the program file on platforms that may