Displaying 1 result from an estimated 1 matches for "try_agent_authentication".
2010 Jan 12
2
[patch] Automatically add keys to agent
...S file: /usr/obsd-repos/src/usr.bin/ssh/sshconnect1.c,v
retrieving revision 1.70
diff -u -N -p sshconnect1.c
--- sshconnect1.c 6 Nov 2006 21:25:28 -0000 1.70
+++ sshconnect1.c 11 Jan 2010 22:49:11 -0000
@@ -57,21 +57,15 @@ extern char *__progname;
* authenticate using the agent.
*/
static int
-try_agent_authentication(void)
+try_agent_authentication(AuthenticationConnection *auth)
{
int type;
char *comment;
- AuthenticationConnection *auth;
u_char response[16];
u_int i;
Key *key;
BIGNUM *challenge;
- /* Get connection to the agent. */
- auth = ssh_get_authentication_connection();
- if (!auth)
- r...