1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Unix Pageant: support -D, to delete all keys.

This commit is contained in:
Simon Tatham
2015-05-12 14:55:44 +01:00
parent e533097e15
commit c6c23ed84b
3 changed files with 42 additions and 2 deletions

View File

@ -593,8 +593,11 @@ void run_client(void)
}
break;
case KEYACT_CLIENT_DEL_ALL:
fprintf(stderr, "NYI\n");
errors = TRUE;
if (pageant_delete_all_keys(&retstr) == PAGEANT_ACTION_FAILURE) {
fprintf(stderr, "pageant: deleting all keys: %s\n", retstr);
sfree(retstr);
errors = TRUE;
}
break;
default:
assert(0 && "Invalid client action found");