version 1.165, 2003/09/23 20:17:11 |
version 1.166, 2003/10/14 19:54:39 |
|
|
/* Allocate a buffer for the socket name, and format the name. */ |
/* Allocate a buffer for the socket name, and format the name. */ |
auth_sock_name = xmalloc(MAXPATHLEN); |
auth_sock_name = xmalloc(MAXPATHLEN); |
auth_sock_dir = xmalloc(MAXPATHLEN); |
auth_sock_dir = xmalloc(MAXPATHLEN); |
strlcpy(auth_sock_dir, "/tmp/ssh-XXXXXXXX", MAXPATHLEN); |
strlcpy(auth_sock_dir, "/tmp/ssh-XXXXXXXXXX", MAXPATHLEN); |
|
|
/* Create private directory for socket */ |
/* Create private directory for socket */ |
if (mkdtemp(auth_sock_dir) == NULL) { |
if (mkdtemp(auth_sock_dir) == NULL) { |