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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.271 and 1.272

version 1.271, 2016/01/14 22:56:56 version 1.272, 2016/09/12 01:22:38
Line 13 
Line 13 
  * called by a name other than "ssh" or "Secure Shell".   * called by a name other than "ssh" or "Secure Shell".
  */   */
   
 #include <sys/param.h>  /* roundup */  
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/wait.h>  #include <sys/wait.h>
 #include <sys/stat.h>  #include <sys/stat.h>
Line 1377 
Line 1376 
                 packet_put_cstring(password);                  packet_put_cstring(password);
                 return;                  return;
         }          }
         size = roundup(strlen(password) + 1, 32);          size = ROUNDUP(strlen(password) + 1, 32);
         padded = xcalloc(1, size);          padded = xcalloc(1, size);
         strlcpy(padded, password, size);          strlcpy(padded, password, size);
         packet_put_string(padded, size);          packet_put_string(padded, size);

Legend:
Removed from v.1.271  
changed lines
  Added in v.1.272