diff options
author | marha <marha@users.sourceforge.net> | 2010-11-19 10:30:56 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-11-19 10:30:56 +0000 |
commit | 20a8b976130e3b2cfff5c3364169e61ec10291f3 (patch) | |
tree | b2fbea50cfb846049fc690a252baec07397a1acc /tools/plink/winx11.c | |
parent | 0b67cceb98ba4ab7b5cdaf9d6e9583d3c53802ea (diff) | |
download | vcxsrv-20a8b976130e3b2cfff5c3364169e61ec10291f3.tar.gz vcxsrv-20a8b976130e3b2cfff5c3364169e61ec10291f3.tar.bz2 vcxsrv-20a8b976130e3b2cfff5c3364169e61ec10291f3.zip |
Copied tools directory from trunk. Here the original versions will be checked in, so that we can update them and merge the changes back in.
Diffstat (limited to 'tools/plink/winx11.c')
-rw-r--r-- | tools/plink/winx11.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/plink/winx11.c b/tools/plink/winx11.c new file mode 100644 index 000000000..c8951b086 --- /dev/null +++ b/tools/plink/winx11.c @@ -0,0 +1,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;
|