[BACK]Return to kex.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/kex.c between version 1.172 and 1.173

version 1.172, 2022/02/01 23:32:51 version 1.173, 2022/11/07 10:05:38
Line 1198 
Line 1198 
     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 ?
Line 1254 
Line 1254 
                 }                  }
                 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);

Legend:
Removed from v.1.172  
changed lines
  Added in v.1.173