Home
last modified time | relevance | path

Searched refs:agent_fd (Results 1 – 4 of 4) sorted by relevance

/external/openssh/
Dssh-add.c109 delete_file(int agent_fd, const char *filename, int key_only) in delete_file() argument
119 if ((r = ssh_remove_identity(agent_fd, public)) == 0) { in delete_file()
144 if ((r = ssh_remove_identity(agent_fd, cert)) == 0) { in delete_file()
163 delete_all(int agent_fd) in delete_all() argument
167 if (ssh_remove_all_identities(agent_fd, 2) == 0) in delete_all()
170 ssh_remove_all_identities(agent_fd, 1); in delete_all()
181 add_file(int agent_fd, const char *filename, int key_only) in add_file() argument
265 if ((r = ssh_add_identity_constrained(agent_fd, private, comment, in add_file()
313 if ((r = ssh_add_identity_constrained(agent_fd, private, comment, in add_file()
334 update_card(int agent_fd, int add, const char *id) in update_card() argument
[all …]
Dsshconnect2.c251 int agent_fd; /* >=0 if agent supports key */ member
271 int agent_fd; member
391 authctxt.agent_fd = -1; in ssh_userauth2()
1022 if (id->key != NULL && id->agent_fd != -1) in identity_sign()
1023 return ssh_agent_sign(id->agent_fd, id->key, sigp, lenp, in identity_sign()
1132 if (!matched && !id->isprivate && id->agent_fd == -1 && in sign_and_send_pubkey()
1146 id->agent_fd != -1 ? " from agent" : ""); in sign_and_send_pubkey()
1279 if (!quit && private != NULL && id->agent_fd == -1 && in load_identity_file()
1308 int agent_fd = -1, i, r, found; in pubkey_prepare() local
1326 id->agent_fd = -1; in pubkey_prepare()
[all …]
Dsshconnect1.c69 int r, type, agent_fd, ret = 0; in try_agent_authentication() local
76 if ((r = ssh_get_authentication_socket(&agent_fd)) != 0) { in try_agent_authentication()
87 if ((r = ssh_fetch_identitylist(agent_fd, 1, &idlist)) != 0) { in try_agent_authentication()
124 if ((r = ssh_decrypt_challenge(agent_fd, idlist->keys[i], in try_agent_authentication()
163 ssh_close_authentication_socket(agent_fd); in try_agent_authentication()
DChangeLog5801 clean up agent_fd handling; properly initialise it to -1