X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/b8bb811ae946f3d831f8044a364f661955473232..d70f60ae52b946d174468a4dff49702daa93dc9a:/ssh.c?ds=sidebyside diff --git a/ssh.c b/ssh.c index 69535c46..444f277a 100644 --- a/ssh.c +++ b/ssh.c @@ -1544,7 +1544,7 @@ static void ssh1_protocol(unsigned char *in, int inlen, int ispkt) { if (ssh_state == SSH_STATE_CLOSED) crReturnV; - if (1 /* FIXME: agent exists && agent forwarding configured */ ) { + if (cfg.agentfwd && agent_exists()) { logevent("Requesting agent forwarding"); send_packet(SSH1_CMSG_AGENT_REQUEST_FORWARDING, PKT_END); do { crReturnV; } while (!ispkt);