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

Diff for /src/usr.bin/ssh/ssh.c between version 1.571 and 1.572

version 1.571, 2022/01/01 05:55:06 version 1.572, 2022/01/06 22:04:20
Line 1556 
Line 1556 
                 fatal_f("pubkey out of array bounds"); \                  fatal_f("pubkey out of array bounds"); \
         check_load(sshkey_load_public(p, &(sensitive_data.keys[o]), NULL), \          check_load(sshkey_load_public(p, &(sensitive_data.keys[o]), NULL), \
             p, "pubkey"); \              p, "pubkey"); \
           if (sensitive_data.keys[o] != NULL) \
                   debug2("hostbased key %d: %s key from \"%s\"", o, \
                       sshkey_ssh_name(sensitive_data.keys[o]), p); \
 } while (0)  } while (0)
 #define L_CERT(p,o) do { \  #define L_CERT(p,o) do { \
         if ((o) >= sensitive_data.nkeys) \          if ((o) >= sensitive_data.nkeys) \
                 fatal_f("cert out of array bounds"); \                  fatal_f("cert out of array bounds"); \
         check_load(sshkey_load_cert(p, &(sensitive_data.keys[o])), p, "cert"); \          check_load(sshkey_load_cert(p, &(sensitive_data.keys[o])), p, "cert"); \
           if (sensitive_data.keys[o] != NULL) \
                   debug2("hostbased key %d: %s cert from \"%s\"", o, \
                       sshkey_ssh_name(sensitive_data.keys[o]), p); \
 } while (0)  } while (0)
   
                 if (options.hostbased_authentication == 1) {                  if (options.hostbased_authentication == 1) {

Legend:
Removed from v.1.571  
changed lines
  Added in v.1.572