search for: 99dcec89

Displaying 1 result from an estimated 1 matches for "99dcec89".

2018 Apr 27
4
[PATCH] allow indefinite ForwardX11Timeout by setting it to 0
...reat a validity timeout of 0 on an authentication cookie as indefinite. Signed-off-by: Trixie Able <table at inventati.org> --- clientloop.c | 12 +++++++++--- ssh_config.5 | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/clientloop.c b/clientloop.c index 7bcf22e3..99dcec89 100644 --- a/clientloop.c +++ b/clientloop.c @@ -342,11 +342,17 @@ client_x11_get_proto(struct ssh *ssh, const char *display, rmdir(xauthdir); return -1; } - - if (timeout >= UINT_MAX - X11_TIMEOUT_SLACK) + /* add (at most)...