mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Fix completely stupid agent_exists test. (Hint to self: you have to
actually _call_ a boolean-returning function, not just test its address for nonzerohood.) Thanks Jacob. [originally from svn r1082]
This commit is contained in:
parent
64b27d6bf4
commit
76dfe1cac9
2
ssh.c
2
ssh.c
@ -3164,7 +3164,7 @@ static void do_ssh2_authconn(unsigned char *in, int inlen, int ispkt)
|
||||
|
||||
method = 0;
|
||||
|
||||
if (!method && can_pubkey && agent_exists && !tried_agent) {
|
||||
if (!method && can_pubkey && agent_exists() && !tried_agent) {
|
||||
/*
|
||||
* Attempt public-key authentication using Pageant.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user