version 1.224, 2010/11/13 23:27:50 |
version 1.225, 2010/11/21 01:01:13 |
|
|
if (trusted == 0) { |
if (trusted == 0) { |
xauthdir = xmalloc(MAXPATHLEN); |
xauthdir = xmalloc(MAXPATHLEN); |
xauthfile = xmalloc(MAXPATHLEN); |
xauthfile = xmalloc(MAXPATHLEN); |
strlcpy(xauthdir, "/tmp/ssh-XXXXXXXXXX", MAXPATHLEN); |
mktemp_proto(xauthdir, MAXPATHLEN); |
if (mkdtemp(xauthdir) != NULL) { |
if (mkdtemp(xauthdir) != NULL) { |
do_unlink = 1; |
do_unlink = 1; |
snprintf(xauthfile, MAXPATHLEN, "%s/xauthfile", |
snprintf(xauthfile, MAXPATHLEN, "%s/xauthfile", |