Oops - don't invent an X authorisation when doing agent forwarding!
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 15 Mar 2001 11:32:23 +0000 (11:32 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 15 Mar 2001 11:32:23 +0000 (11:32 +0000)
Overenthusiastic c'n'p breaks the world.

git-svn-id: svn://svn.tartarus.org/sgt/putty@999 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index c7b724b..795dc4f 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -3458,7 +3458,6 @@ static void do_ssh2_authconn(unsigned char *in, int inlen, int ispkt)
     if (cfg.agentfwd && agent_exists()) {
         char proto[20], data[64];
         logevent("Requesting OpenSSH-style agent forwarding");
-        x11_invent_auth(proto, sizeof(proto), data, sizeof(data));
         ssh2_pkt_init(SSH2_MSG_CHANNEL_REQUEST);
         ssh2_pkt_adduint32(mainchan->remoteid);
         ssh2_pkt_addstring("auth-agent-req@openssh.com");