mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Revert "chomp does not work on windows."
This reverts commit 3e94e2b11d
.
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)
This commit is contained in:
parent
824d23772b
commit
716a64fcc4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user