Commit 721614a2 authored by Richard Levitte's avatar Richard Levitte
Browse files

OpenSSL::Test::__fixup_prg: don't check program existence



The program will fail to run if it doesn't exist anyway, no need to
check its existence here.

Fixes #4306

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4309)
parent e66b62b8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1084,11 +1084,6 @@ sub __fixup_prg {
	$prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []");
    }

    # 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
	# have spaces or similar in their path name.