Move the prototype for platform_get_x11_auth() from x11fwd.c to ssh.h so that
[u/mdw/putty] / ssh.h
diff --git a/ssh.h b/ssh.h
index 0a38e94..4a1d03d 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -275,6 +275,10 @@ extern void x11_override_throttle(Socket s, int enable);
 extern int x11_get_screen_number(char *display);
 void x11_get_real_auth(void *authv, char *display);
 
+/* Platfdorm-dependent X11 function */
+extern void platform_get_x11_auth(char *display, int *proto,
+                                  unsigned char *data, int *datalen);
+
 Bignum copybn(Bignum b);
 Bignum bn_power_2(int n);
 void bn_restore_invariant(Bignum b);
@@ -363,6 +367,8 @@ void aes256_encrypt_pubkey(unsigned char *key, unsigned char *blk,
 void aes256_decrypt_pubkey(unsigned char *key, unsigned char *blk,
                           int len);
 
+void des_encrypt_xdmauth(unsigned char *key, unsigned char *blk, int len);
+
 /*
  * For progress updates in the key generation utility.
  */