[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.307 and 1.308

version 1.307, 2019/07/07 01:05:00 version 1.308, 2019/08/05 11:50:33
Line 1396 
Line 1396 
 {  {
         struct sshkey *private = NULL;          struct sshkey *private = NULL;
         char prompt[300], *passphrase, *comment;          char prompt[300], *passphrase, *comment;
         int r, perm_ok = 0, quit = 0, i;          int r, quit = 0, i;
         struct stat st;          struct stat st;
   
         if (stat(id->filename, &st) == -1) {          if (stat(id->filename, &st) == -1) {
Line 1418 
Line 1418 
                         }                          }
                 }                  }
                 switch ((r = sshkey_load_private_type(KEY_UNSPEC, id->filename,                  switch ((r = sshkey_load_private_type(KEY_UNSPEC, id->filename,
                     passphrase, &private, &comment, &perm_ok))) {                      passphrase, &private, &comment))) {
                 case 0:                  case 0:
                         break;                          break;
                 case SSH_ERR_KEY_WRONG_PASSPHRASE:                  case SSH_ERR_KEY_WRONG_PASSPHRASE:

Legend:
Removed from v.1.307  
changed lines
  Added in v.1.308