search for: xauth_present

Displaying 1 result from an estimated 1 matches for "xauth_present".

2001 Jun 21
0
Patch for removing X11 fwding cookies
...hority file. Please consider integrating this into the OpenSSH code. Thanks. -Alok diff -w -c openssh-2.9p2/session.c modified/session.c *** 1950,1955 **** --- 1565,1590 ---- void session_close(Session *s) { + char cmd[1024]; + FILE *f = NULL; + int xauth_present = s->auth_proto != NULL && s->auth_data != NULL; + + memset(cmd, 0, sizeof (cmd)); + + if (xauth_present && options.xauth_location != NULL) { + debug("Running %.100s remove %.100s", + options.xa...