aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/winx11.c
blob: 630fac76502ec394af1abea673f11ca900586e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * winx11.c: fetch local auth data for X forwarding.
 */

#include <ctype.h>
#include <assert.h>
#include <stdlib.h>

#include "putty.h"
#include "ssh.h"

void platform_get_x11_auth(struct X11Display *disp, Conf *conf)
{
    char *xauthpath = conf_get_filename(conf, CONF_xauthfile)->path;
    if (xauthpath[0])
	x11_get_auth_from_authfile(disp, xauthpath);
}

const int platform_uses_x11_unix_by_default = FALSE;