version 1.271, 2016/01/14 22:56:56 |
version 1.272, 2016/09/12 01:22:38 |
|
|
* 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> |
|
|
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); |