Fix smartcard certificate removal and update
This commit is contained in:
Frank Morgner 2015-12-16 08:21:03 +01:00
commit 2fd32fdd73
1 changed files with 1 additions and 0 deletions

View File

@ -599,6 +599,7 @@ sc_pkcs15init_delete_by_path(struct sc_profile *profile, struct sc_pkcs15_card *
LOG_TEST_RET(ctx, rv, "'DELETE' authentication failed");
/* Reselect file to delete: current path could be changed by 'verify PIN' procedure */
path = *file_path;
rv = sc_select_file(p15card->card, &path, &file);
LOG_TEST_RET(ctx, rv, "cannot select file to delete");