Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'windows/x11.c')
-rw-r--r--windows/x11.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/windows/x11.c b/windows/x11.c
new file mode 100644
index 00000000..98bbb627
--- /dev/null
+++ b/windows/x11.c
@@ -0,0 +1,19 @@
+/*
+ * x11.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 bool platform_uses_x11_unix_by_default = false;