mirror of
https://github.com/openssl/openssl.git
synced 2025-01-12 13:36:28 +08:00
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: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4309)
This commit is contained in:
parent
e66b62b86e
commit
721614a2b2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user