]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Revert "chomp does not work on windows."
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 9 Jan 2025 20:25:55 +0000 (21:25 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 15 Jan 2025 15:05:44 +0000 (16:05 +0100)
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)

util/perl/TLSProxy/Proxy.pm

index 48c55f48220b2f5468ded5531227d80e2525608e..ede8df268cd85340327dcd724687b958b9eb3574 100644 (file)
@@ -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;