pkcs15-tool: remove overall card unlock

In a complement to c6db68f -- card is not more locked when connected.
This commit is contained in:
Viktor Tarasov 2016-10-04 18:23:12 +02:00
parent 0f22c0fd77
commit 30261ceaec
1 changed files with 1 additions and 3 deletions

View File

@ -2062,10 +2062,8 @@ int main(int argc, char * const argv[])
end:
if (p15card)
sc_pkcs15_unbind(p15card);
if (card) {
sc_unlock(card);
if (card)
sc_disconnect_card(card);
}
if (ctx)
sc_release_context(ctx);
return err;