OpenSSL::Test::__fixup_prg: don't check program existence
[openssl.git] / util / perl / OpenSSL / Test.pm
index f8fcbe906de8dd209f47c6224f8d622b681ebb41..ffbb1968d43e0747d01ba2dc8f2a7694cdb9a9cd 100644 (file)
@@ -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.