Commit | Line | Data |
---|---|---|
a54d0c36 | 1 | /* |
2 | * winx11.c: fetch local auth data for X forwarding. | |
3 | */ | |
4 | ||
5 | #include <ctype.h> | |
6 | #include <assert.h> | |
7 | #include <stdlib.h> | |
8 | ||
9 | #include "putty.h" | |
10 | #include "ssh.h" | |
11 | ||
4a693cfc | 12 | void platform_get_x11_auth(struct X11Display *disp, Conf *conf) |
a54d0c36 | 13 | { |
4a693cfc | 14 | char *xauthpath = conf_get_filename(conf, CONF_xauthfile)->path; |
15 | if (xauthpath[0]) | |
16 | x11_get_auth_from_authfile(disp, xauthpath); | |
a54d0c36 | 17 | } |
18 | ||
19 | const int platform_uses_x11_unix_by_default = FALSE; |