aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/winx11.c
blob: c8951b0865265defcfc47557934993d846ad2a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * 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, const Config *cfg)
{
    if (cfg->xauthfile.path[0])
	x11_get_auth_from_authfile(disp, cfg->xauthfile.path);
}

const int platform_uses_x11_unix_by_default = FALSE;