define these constants where used to kill warnings.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3069 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
5610edfc2f
commit
31f4fada5b
|
@ -29,6 +29,7 @@
|
|||
#define MSCFS_FILE_NOT_FOUND SC_ERROR_FILE_NOT_FOUND
|
||||
#define MSCFS_CACHE_INCREMENT 128
|
||||
|
||||
static msc_id rootId = { { 0x3F, 0x00, 0x3F, 0x00 } };
|
||||
|
||||
static const u8* ignoredFiles[] = {
|
||||
(const u8*)"l0\0\0",
|
||||
|
|
|
@ -30,10 +30,6 @@ typedef struct msc_id {
|
|||
} msc_id;
|
||||
|
||||
|
||||
static msc_id inputId = { { 0xFF, 0xFF, 0xFF, 0xFF } };
|
||||
static msc_id outputId = { { 0xFF, 0xFF, 0xFF, 0xFE } };
|
||||
static msc_id rootId = { { 0x3F, 0x00, 0x3F, 0x00 } };
|
||||
|
||||
typedef struct mscfs_file {
|
||||
msc_id objectId;
|
||||
size_t size;
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
||||
#endif
|
||||
|
||||
static msc_id inputId = { { 0xFF, 0xFF, 0xFF, 0xFF } };
|
||||
static msc_id outputId = { { 0xFF, 0xFF, 0xFF, 0xFE } };
|
||||
|
||||
int msc_list_objects(sc_card_t* card, u8 next, mscfs_file_t* file) {
|
||||
sc_apdu_t apdu;
|
||||
u8 fileData[14];
|
||||
|
|
Loading…
Reference in New Issue