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

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.336 and 1.337

version 1.336, 2020/11/13 07:30:44 version 1.337, 2020/12/20 23:36:51
Line 124 
Line 124 
         get_hostfile_hostname_ipaddr(host, hostaddr, port, &hostname, NULL);          get_hostfile_hostname_ipaddr(host, hostaddr, port, &hostname, NULL);
         hostkeys = init_hostkeys();          hostkeys = init_hostkeys();
         for (i = 0; i < options.num_user_hostfiles; i++)          for (i = 0; i < options.num_user_hostfiles; i++)
                 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i]);                  load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0);
         for (i = 0; i < options.num_system_hostfiles; i++)          for (i = 0; i < options.num_system_hostfiles; i++) {
                 load_hostkeys(hostkeys, hostname, options.system_hostfiles[i]);                  load_hostkeys(hostkeys, hostname,
                       options.system_hostfiles[i], 0);
           }
         /*          /*
          * If a plain public key exists that matches the type of the best           * If a plain public key exists that matches the type of the best
          * preference HostkeyAlgorithms, then use the whole list as is.           * preference HostkeyAlgorithms, then use the whole list as is.

Legend:
Removed from v.1.336  
changed lines
  Added in v.1.337