Implement OpenSSH-compatible RSA key fingerprints and use them throughout
[u/mdw/putty] / scp.c
diff --git a/scp.c b/scp.c
index 7466e43..b2ba501 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -9,7 +9,13 @@
  */
 
 #include <windows.h>
+#ifndef AUTO_WINSOCK
+#ifdef WINSOCK_TWO
+#include <winsock2.h>
+#else
 #include <winsock.h>
+#endif
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -68,14 +74,13 @@ static void send_str_msg(unsigned int msg_id, char *str);
 static void gui_update_stats(char *name, unsigned long size, int percentage, time_t elapsed);
 
 /*
- * These functions are needed to link with ssh.c, but never get called.
+ * These functions are needed to link with other modules, but
+ * (should) never get called.
  */
-void term_out(void)
-{
-    abort();
-}
-void begin_session(void) {
-}
+void term_out(void) { abort(); }
+void begin_session(void) { }
+void write_clip (void *data, int len) { }
+void term_deselect(void) { }
 
 /* GUI Adaptation - Sept 2000 */
 void send_msg(HWND h, UINT message, WPARAM wParam)