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

Diff for /src/usr.bin/ssh/sshd.c between version 1.483 and 1.484

version 1.483, 2017/02/24 03:16:34 version 1.484, 2017/03/15 02:19:09
Line 1551 
Line 1551 
                         continue;                          continue;
                 key = key_load_private(options.host_key_files[i], "", NULL);                  key = key_load_private(options.host_key_files[i], "", NULL);
                 pubkey = key_load_public(options.host_key_files[i], NULL);                  pubkey = key_load_public(options.host_key_files[i], NULL);
   
                   if ((pubkey != NULL && pubkey->type == KEY_RSA1) ||
                       (key != NULL && key->type == KEY_RSA1)) {
                           verbose("Ignoring RSA1 key %s",
                               options.host_key_files[i])
                           key_free(key);
                           key_free(pubkey);
                           continue;
                   }
                 if (pubkey == NULL && key != NULL)                  if (pubkey == NULL && key != NULL)
                         pubkey = key_demote(key);                          pubkey = key_demote(key);
                 sensitive_data.host_keys[i] = key;                  sensitive_data.host_keys[i] = key;

Legend:
Removed from v.1.483  
changed lines
  Added in v.1.484