version 1.172, 2022/02/01 23:32:51 |
version 1.173, 2022/11/07 10:05:38 |
|
|
const char *version_addendum) |
const char *version_addendum) |
{ |
{ |
int remote_major, remote_minor, mismatch, oerrno = 0; |
int remote_major, remote_minor, mismatch, oerrno = 0; |
size_t len, i, n; |
size_t len, n; |
int r, expect_nl; |
int r, expect_nl; |
u_char c; |
u_char c; |
struct sshbuf *our_version = ssh->kex->server ? |
struct sshbuf *our_version = ssh->kex->server ? |
|
|
} |
} |
sshbuf_reset(peer_version); |
sshbuf_reset(peer_version); |
expect_nl = 0; |
expect_nl = 0; |
for (i = 0; ; i++) { |
for (;;) { |
if (timeout_ms > 0) { |
if (timeout_ms > 0) { |
r = waitrfd(ssh_packet_get_connection_in(ssh), |
r = waitrfd(ssh_packet_get_connection_in(ssh), |
&timeout_ms); |
&timeout_ms); |