summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2004-03-09 22:11:05 +0000
committermarkus <markus@openbsd.org>2004-03-09 22:11:05 +0000
commitbfd2c37a2e2ca11544dffc878806badf601365e7 (patch)
tree382a2a5ad5ad414d4ef242883e145be9864d3d3e /usr.bin/ssh/ssh.c
parenttypo; from Martin Reindl <mreindl at catai.org> (diff)
downloadwireguard-openbsd-bfd2c37a2e2ca11544dffc878806badf601365e7.tar.xz
wireguard-openbsd-bfd2c37a2e2ca11544dffc878806badf601365e7.zip
increase x11 cookie lifetime to 20 minutes; ok djm
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 1af84d9baef..a74e33c1ec9 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.206 2003/12/16 15:49:51 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.207 2004/03/09 22:11:05 markus Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -762,7 +762,7 @@ x11_get_proto(char **_proto, char **_data)
xauthdir);
snprintf(cmd, sizeof(cmd),
"%s -f %s generate %s " SSH_X11_PROTO
- " untrusted timeout 120 2>" _PATH_DEVNULL,
+ " untrusted timeout 1200 2>" _PATH_DEVNULL,
options.xauth_location, xauthfile, display);
debug2("x11_get_proto: %s", cmd);
if (system(cmd) == 0)