#ifndef NO_GSSAPI
-#include <windows.h>
+#include "putty.h"
+
#define SECURITY_WIN32
#include <security.h>
+
#include "sshgss.h"
#include "misc.h"
}
buf->value = dupstr(msg);
- buf->length = strlen(buf->length);
+ buf->length = strlen(buf->value);
return SSH_GSS_OK;
}