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

Diff for /src/usr.bin/ssh/authfile.c between version 1.132 and 1.133

version 1.132, 2019/06/28 13:35:04 version 1.133, 2019/07/15 13:16:29
Line 72 
Line 72 
 int  int
 sshkey_save_private(struct sshkey *key, const char *filename,  sshkey_save_private(struct sshkey *key, const char *filename,
     const char *passphrase, const char *comment,      const char *passphrase, const char *comment,
     int force_new_format, const char *new_format_cipher, int new_format_rounds)      int format, const char *openssh_format_cipher, int openssh_format_rounds)
 {  {
         struct sshbuf *keyblob = NULL;          struct sshbuf *keyblob = NULL;
         int r;          int r;
Line 80 
Line 80 
         if ((keyblob = sshbuf_new()) == NULL)          if ((keyblob = sshbuf_new()) == NULL)
                 return SSH_ERR_ALLOC_FAIL;                  return SSH_ERR_ALLOC_FAIL;
         if ((r = sshkey_private_to_fileblob(key, keyblob, passphrase, comment,          if ((r = sshkey_private_to_fileblob(key, keyblob, passphrase, comment,
             force_new_format, new_format_cipher, new_format_rounds)) != 0)              format, openssh_format_cipher, openssh_format_rounds)) != 0)
                 goto out;                  goto out;
         if ((r = sshkey_save_private_blob(keyblob, filename)) != 0)          if ((r = sshkey_save_private_blob(keyblob, filename)) != 0)
                 goto out;                  goto out;

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.133