Merge pull request #638 from ibpl/master-IB#1047758
Fix smartcard certificate removal and update
This commit is contained in:
commit
2fd32fdd73
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue