Return to ssh-add.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.129, 2017/04/30 23:10:43 | version 1.130, 2017/05/04 06:10:57 | ||
---|---|---|---|
|
|
||
{ | { | ||
int ret = -1; | int ret = -1; | ||
/* | |||
* Since the agent might be forwarded, old or non-OpenSSH, when asked | |||
* to remove all keys, attempt to remove both protocol v.1 and v.2 | |||
* keys. | |||
*/ | |||
if (ssh_remove_all_identities(agent_fd, 2) == 0) | if (ssh_remove_all_identities(agent_fd, 2) == 0) | ||
ret = 0; | ret = 0; | ||
/* ignore error-code for ssh1 */ | /* ignore error-code for ssh1 */ |