Oops - don't invent an X authorisation when doing agent forwarding!

Overenthusiastic c'n'p breaks the world.

[originally from svn r999]
This commit is contained in:
Simon Tatham 2001-03-15 11:32:23 +00:00
Родитель c760ef6f83
Коммит 1a9d213a74
1 изменённых файлов: 0 добавлений и 1 удалений

1
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");