summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2025-01-09 21:24:44 +0100
committerTomas Mraz <tomas@openssl.org>2025-01-15 16:05:44 +0100
commit824d23772b2c38bdeab60ccb087517e62e5192e5 (patch)
treed25d9248a7e6f3d358274c7b0f0d254f25aa0ca8
parentCorrect documented KEM ids for OSSL_HPKE_str2suite (diff)
downloadopenssl-824d23772b2c38bdeab60ccb087517e62e5192e5.tar.xz
openssl-824d23772b2c38bdeab60ccb087517e62e5192e5.zip
Revert "Do not confuse TAP::Parser by mixing up stderr with stdout."
This reverts commit 3d3bb26a13dcc67f99e66de6a44ae9ced117f64b. Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com> Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26374)
-rw-r--r--util/perl/TLSProxy/Proxy.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/util/perl/TLSProxy/Proxy.pm b/util/perl/TLSProxy/Proxy.pm
index 8436861668..48c55f4822 100644
--- a/util/perl/TLSProxy/Proxy.pm
+++ b/util/perl/TLSProxy/Proxy.pm
@@ -290,14 +290,8 @@ sub start
if ($self->debug) {
print STDERR "Server command: $execcmd\n";
}
- my $sin = undef;
- my $sout = undef;
- if ("$^O" eq "MSWin32") {
- $pid = IPC::Open2::open2($sout, $sin, $execcmd) or die "Failed to $execcmd: $!\n";
- } else {
- $pid = IPC::Open3::open3($sin, $sout, undef, $execcmd) or die "Failed to $execcmd: $!\n";
- }
+ $pid = IPC::Open2::open2(my $sout, my $sin, $execcmd) or die "Failed to $execcmd: $!\n";
$self->{serverpid} = $pid;
# Process the output from s_server until we find the ACCEPT line, which