summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-08-31 19:03:03 +0200
committerRichard Levitte <levitte@openssl.org>2017-08-31 19:36:00 +0200
commit721614a2b240041f460cfa8473b8dbcde25a3ca6 (patch)
tree39802a45ab811f84600448dfddbf49dd8034096d /util
parente66b62b86e7725bdace0f24a76baa61db9c763f8 (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.pm5
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.