FreeBSD/crypto/openssh/ssh-add.c
/* Send a request to remove all identities. */
Send a request to remove all identities.
Send a request to remove all identities .
static int
delete_all(int agent_fd)
{
	int ret = -1;
	if (ssh_remove_all_identities(agent_fd, 2) == 0)
		ret = 0;
	ssh_remove_all_identities(agent_fd, 1);
	if (ret == 0)
		fprintf(stderr, "All identities removed.\n");
	else
		fprintf(stderr, "Failed to remove all identities.\n");
	return ret;
}
static int delete_all ( int agent_fd ) { int ret = -1 ; if ( ssh_remove_all_identities ( agent_fd , 2 ) == 0 ) ret = 0 ; ssh_remove_all_identities ( agent_fd , 1 ) ; if ( ret == 0 ) fprintf ( stderr , " \n " ) ; else fprintf ( stderr , " \n " ) ; return ret ; }
Send a request to remove all identities.
Send a request to remove all identities .
/* ignore error-code for ssh1 */