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

Diff for /src/usr.bin/ssh/auth.c between version 1.149 and 1.150

version 1.149, 2020/10/18 11:32:01 version 1.150, 2020/12/20 23:36:51
Line 378 
Line 378 
         const struct hostkey_entry *found;          const struct hostkey_entry *found;
   
         hostkeys = init_hostkeys();          hostkeys = init_hostkeys();
         load_hostkeys(hostkeys, host, sysfile);          load_hostkeys(hostkeys, host, sysfile, 0);
         if (userfile != NULL) {          if (userfile != NULL) {
                 user_hostfile = tilde_expand_filename(userfile, pw->pw_uid);                  user_hostfile = tilde_expand_filename(userfile, pw->pw_uid);
                 if (options.strict_modes &&                  if (options.strict_modes &&
Line 392 
Line 392 
                             user_hostfile);                              user_hostfile);
                 } else {                  } else {
                         temporarily_use_uid(pw);                          temporarily_use_uid(pw);
                         load_hostkeys(hostkeys, host, user_hostfile);                          load_hostkeys(hostkeys, host, user_hostfile, 0);
                         restore_uid();                          restore_uid();
                 }                  }
                 free(user_hostfile);                  free(user_hostfile);

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150