View | Details | Raw Unified | Return to bug 2186
Collapse All | Expand All

(-)ssh-agent.c (+3 lines)
Lines 646-651 process_remove_smartcard_key(SocketEntry Link Here
646
		tab = idtab_lookup(version);
646
		tab = idtab_lookup(version);
647
		for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) {
647
		for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) {
648
			nxt = TAILQ_NEXT(id, next);
648
			nxt = TAILQ_NEXT(id, next);
649
			/* Skip file--based keys */
650
			if (id->provider == NULL)
651
				continue;
649
			if (!strcmp(provider, id->provider)) {
652
			if (!strcmp(provider, id->provider)) {
650
				TAILQ_REMOVE(&tab->idlist, id, next);
653
				TAILQ_REMOVE(&tab->idlist, id, next);
651
				free_identity(id);
654
				free_identity(id);

Return to bug 2186