x11.c 430 B

1234567891011121314151617181920
  1. /*
  2. * x11.c: fetch local auth data for X forwarding.
  3. */
  4. #include <ctype.h>
  5. #include <assert.h>
  6. #include <stdlib.h>
  7. #include "putty.h"
  8. #include "ssh.h"
  9. void platform_get_x11_auth(struct X11Display *disp, Conf *conf)
  10. {
  11. Filename *xauthfn = conf_get_filename(conf, CONF_xauthfile);
  12. if (!filename_is_null(xauthfn))
  13. x11_get_auth_from_authfile(disp, xauthfn);
  14. }
  15. const bool platform_uses_x11_unix_by_default = false;