[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Thu Aug 31 17:37:04 UTC 2017


The branch master has been updated
       via  721614a2b240041f460cfa8473b8dbcde25a3ca6 (commit)
      from  e66b62b86e7725bdace0f24a76baa61db9c763f8 (commit)


- Log -----------------------------------------------------------------
commit 721614a2b240041f460cfa8473b8dbcde25a3ca6
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Aug 31 19:03:03 2017 +0200

    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 at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4309)

-----------------------------------------------------------------------

Summary of changes:
 util/perl/OpenSSL/Test.pm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/util/perl/OpenSSL/Test.pm b/util/perl/OpenSSL/Test.pm
index f8fcbe9..ffbb196 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.


More information about the openssl-commits mailing list