From 9c3700a6d3d037bd823a65f5837264605891b2ea Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 Jan 2017 19:42:28 +0000 Subject: [PATCH] Remove duplicate definition of AGENT_MAX_MSGLEN. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/winpgntc.c b/windows/winpgntc.c index 1136ec76..cd00f6a3 100644 --- a/windows/winpgntc.c +++ b/windows/winpgntc.c @@ -7,13 +7,13 @@ #include #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) { -- 2.45.1