Make openct compile again

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5234 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2011-03-14 19:45:02 +00:00
parent 39f3c2b7c6
commit 1a19093b42
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ openct_reader_connect(sc_reader_t *reader)
}
rc = ct_card_request(data->h, data->slot, 0, NULL,
reader->atr, sizeof(reader->atr));
reader->atr.value, reader->atr.len);
if (rc < 0) {
sc_debug(reader->ctx, SC_LOG_DEBUG_NORMAL,
"openct_reader_connect read failed: %s\n",
@ -217,7 +217,7 @@ openct_reader_connect(sc_reader_t *reader)
return SC_ERROR_READER;
}
reader->atr_len = rc;
reader->atr.len = rc;
return SC_SUCCESS;
}