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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.134 and 1.135

version 1.134, 2021/11/18 03:06:03 version 1.135, 2022/01/01 01:55:30
Line 657 
Line 657 
   
 /*  /*
  * Prepare SSH2_FXP_VERSION extension advertisement for a single extension.   * Prepare SSH2_FXP_VERSION extension advertisement for a single extension.
  * The extension is checked for permission prior to advertisment.   * The extension is checked for permission prior to advertisement.
  */   */
 static int  static int
 compose_extension(struct sshbuf *msg, const char *name, const char *ver)  compose_extension(struct sshbuf *msg, const char *name, const char *ver)
Line 694 
Line 694 
             (r = sshbuf_put_u32(msg, SSH2_FILEXFER_VERSION)) != 0)              (r = sshbuf_put_u32(msg, SSH2_FILEXFER_VERSION)) != 0)
                 fatal_fr(r, "compose");                  fatal_fr(r, "compose");
   
          /* extension advertisments */           /* extension advertisements */
         compose_extension(msg, "posix-rename@openssh.com", "1");          compose_extension(msg, "posix-rename@openssh.com", "1");
         compose_extension(msg, "statvfs@openssh.com", "2");          compose_extension(msg, "statvfs@openssh.com", "2");
         compose_extension(msg, "fstatvfs@openssh.com", "2");          compose_extension(msg, "fstatvfs@openssh.com", "2");

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135