[openssl-commits] [openssl] master update
Andy Polyakov
appro at openssl.org
Fri Apr 14 08:02:59 UTC 2017
The branch master has been updated
via 93f725a3fcf00701cc8d5c2943383b9aa233aeb4 (commit)
from d063add7cbdaf82e6208ef01414432320260e974 (commit)
- Log -----------------------------------------------------------------
commit 93f725a3fcf00701cc8d5c2943383b9aa233aeb4
Author: Andy Polyakov <appro at openssl.org>
Date: Wed Apr 12 22:51:30 2017 +0200
testlib/OpenSSL/Test.pm: keep default input private.
If $_ is not private, it can wipe caller's one, which proved to be
problematic...
Reviewed-by: Rich Salz <rsalz at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
test/testlib/OpenSSL/Test.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm
index c76ca1c..c4799e8 100644
--- a/test/testlib/OpenSSL/Test.pm
+++ b/test/testlib/OpenSSL/Test.pm
@@ -460,6 +460,7 @@ sub run {
# to make it easier to compare with a manual run of the command.
if ($opts{capture} || defined($opts{prefix})) {
my $pipe;
+ local $_;
open($pipe, '-|', "$prefix$cmd") or die "Can't start command: $!";
while(<$pipe>) {
More information about the openssl-commits
mailing list