pkcs15-tool: Remove a redundant sc_lock/sc_unlock pair
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4222 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
64d05bb6d7
commit
5b40b0eb0c
|
@ -1016,7 +1016,6 @@ static int dump(void)
|
|||
};
|
||||
|
||||
int i, count = 0;
|
||||
sc_lock(card);
|
||||
|
||||
printf("PKCS#15 Card [%s]:\n", p15card->label);
|
||||
printf("\tVersion : %d\n", p15card->version);
|
||||
|
@ -1043,7 +1042,6 @@ static int dump(void)
|
|||
list_certificates();
|
||||
list_data_objects();
|
||||
|
||||
sc_unlock(card);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue