diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2025-01-09 21:25:55 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2025-01-15 16:05:44 +0100 |
commit | 716a64fcc4b0981fd788deb43ca6548cc634ea56 (patch) | |
tree | 392f77143897d126f6e95c962a4311ecf8304141 | |
parent | Revert "Do not confuse TAP::Parser by mixing up stderr with stdout." (diff) | |
download | openssl-716a64fcc4b0981fd788deb43ca6548cc634ea56.tar.xz openssl-716a64fcc4b0981fd788deb43ca6548cc634ea56.zip |
Revert "chomp does not work on windows."
This reverts commit 3e94e2b11d73ed22c601f818b31b7c4ca281f5d1.
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.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/perl/TLSProxy/Proxy.pm b/util/perl/TLSProxy/Proxy.pm index 48c55f4822..ede8df268c 100644 --- a/util/perl/TLSProxy/Proxy.pm +++ b/util/perl/TLSProxy/Proxy.pm @@ -297,8 +297,7 @@ sub start # Process the output from s_server until we find the ACCEPT line, which # tells us what the accepting address and port are. while (<$sout>) { - print; - s/\R$//; # chomp does not work on windows. + chomp; next unless (/^ACCEPT\s.*:(\d+)$/); $self->{server_port} = $1; last; |