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

Diff for /src/usr.bin/ssh/auth2-pubkey.c between version 1.2.4.1 and 1.3

version 1.2.4.1, 2002/06/26 15:52:13 version 1.3, 2003/04/08 20:21:28
Line 78 
Line 78 
         pktype = key_type_from_name(pkalg);          pktype = key_type_from_name(pkalg);
         if (pktype == KEY_UNSPEC) {          if (pktype == KEY_UNSPEC) {
                 /* this is perfectly legal */                  /* this is perfectly legal */
                 log("userauth_pubkey: unsupported public key algorithm: %s",                  logit("userauth_pubkey: unsupported public key algorithm: %s",
                     pkalg);                      pkalg);
                 goto done;                  goto done;
         }          }
Line 195 
Line 195 
         if (options.strict_modes &&          if (options.strict_modes &&
             secure_filename(f, file, pw, line, sizeof(line)) != 0) {              secure_filename(f, file, pw, line, sizeof(line)) != 0) {
                 fclose(f);                  fclose(f);
                 log("Authentication refused: %s", line);                  logit("Authentication refused: %s", line);
                 restore_uid();                  restore_uid();
                 return 0;                  return 0;
         }          }

Legend:
Removed from v.1.2.4.1  
changed lines
  Added in v.1.3