diff options
author | Richard Levitte <levitte@openssl.org> | 2017-08-31 19:03:03 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-08-31 19:36:00 +0200 |
commit | 721614a2b240041f460cfa8473b8dbcde25a3ca6 (patch) | |
tree | 39802a45ab811f84600448dfddbf49dd8034096d /util | |
parent | e66b62b86e7725bdace0f24a76baa61db9c763f8 (diff) |
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)
Diffstat (limited to 'util')
-rw-r--r-- | util/perl/OpenSSL/Test.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/util/perl/OpenSSL/Test.pm b/util/perl/OpenSSL/Test.pm index f8fcbe906d..ffbb1968d4 100644 --- a/util/perl/OpenSSL/Test.pm +++ b/util/perl/OpenSSL/Test.pm @@ -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. |