fix problem with uninitialized pointer; this patch resolves opensc ticket #61

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2698 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2005-12-04 23:23:25 +00:00
parent bb63ca1829
commit 346486ee70
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ static CK_RV pkcs15_create_tokens(struct sc_pkcs11_card *p11card)
{
struct pkcs15_fw_data *fw_data = (struct pkcs15_fw_data *) p11card->fw_data;
struct sc_pkcs15_object *auths[MAX_OBJECTS];
struct sc_pkcs11_slot *slot;
struct sc_pkcs11_slot *slot = NULL;
int i, rv, reader = p11card->reader;
int auth_count;
unsigned int j;