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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.380 and 1.381

version 1.380, 2022/06/03 04:30:46 version 1.381, 2022/11/09 01:37:44
Line 1777 
Line 1777 
          * Keys received from the server and a flag for each indicating           * Keys received from the server and a flag for each indicating
          * whether they already exist in known_hosts.           * whether they already exist in known_hosts.
          * keys_match is filled in by hostkeys_find() and later (for new           * keys_match is filled in by hostkeys_find() and later (for new
          * keys) by client_global_hostkeys_private_confirm().           * keys) by client_global_hostkeys_prove_confirm().
          */           */
         struct sshkey **keys;          struct sshkey **keys;
         u_int *keys_match;      /* mask of HKF_MATCH_* from hostfile.h */          u_int *keys_match;      /* mask of HKF_MATCH_* from hostfile.h */
Line 2085 
Line 2085 
 }  }
   
 static void  static void
 client_global_hostkeys_private_confirm(struct ssh *ssh, int type,  client_global_hostkeys_prove_confirm(struct ssh *ssh, int type,
     u_int32_t seq, void *_ctx)      u_int32_t seq, void *_ctx)
 {  {
         struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx;          struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx;
Line 2392 
Line 2392 
         if ((r = sshpkt_send(ssh)) != 0)          if ((r = sshpkt_send(ssh)) != 0)
                 fatal_fr(r, "send hostkeys-prove");                  fatal_fr(r, "send hostkeys-prove");
         client_register_global_confirm(          client_register_global_confirm(
             client_global_hostkeys_private_confirm, ctx);              client_global_hostkeys_prove_confirm, ctx);
         ctx = NULL;  /* will be freed in callback */          ctx = NULL;  /* will be freed in callback */
   
         /* Success */          /* Success */

Legend:
Removed from v.1.380  
changed lines
  Added in v.1.381