]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove duplicate definition of AGENT_MAX_MSGLEN.
authorSimon Tatham <anakin@pobox.com>
Mon, 30 Jan 2017 19:42:28 +0000 (19:42 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 30 Jan 2017 19:42:28 +0000 (19:42 +0000)
Now all references of that constant use the same definition in
pageant.h, so it'll be easy to change if we ever need to.

windows/winpgntc.c

index 1136ec76e76337f95a03c6263dbf5179e6b22960..cd00f6a3f441540b07bda7fce34e2d93cf6ab5b7 100644 (file)
@@ -7,13 +7,13 @@
 #include <assert.h>
 
 #include "putty.h"
+#include "pageant.h" /* for AGENT_MAX_MSGLEN */
 
 #ifndef NO_SECURITY
 #include "winsecur.h"
 #endif
 
 #define AGENT_COPYDATA_ID 0x804e50ba   /* random goop */
-#define AGENT_MAX_MSGLEN  8192
 
 int agent_exists(void)
 {