mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Detection of "auth-agent@openssh.com" was too liberal. Spotted by
Ben Rudiak-Gould. [originally from svn r5962]
This commit is contained in:
parent
bb95adf054
commit
3c7cb747f6
2
ssh.c
2
ssh.c
@ -6357,7 +6357,7 @@ static void ssh2_msg_channel_open(Ssh ssh, struct Packet *pktin)
|
||||
}
|
||||
}
|
||||
} else if (typelen == 22 &&
|
||||
!memcmp(type, "auth-agent@openssh.com", 3)) {
|
||||
!memcmp(type, "auth-agent@openssh.com", 22)) {
|
||||
if (!ssh->agentfwd_enabled)
|
||||
error = "Agent forwarding is not enabled";
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user