Changeset 3219
- Timestamp:
- 09/24/10 14:24:37 (14 years ago)
- Location:
- trunk/csctapi
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/icc_async.c
r3212 r3219 1 //FIXME Not checked on threadsafety yet; after checking please remove this line2 1 /* 3 2 icc_async.c -
trunk/csctapi/icc_async.h
r2687 r3219 65 65 int ICC_Async_Receive (struct s_reader *reader, unsigned size, BYTE * buffer); 66 66 67 #define apdu2resp \68 { \69 int remain; \70 bool err = FALSE; \71 if (apdu_rsp != NULL) { \72 remain = MAX ((short)APDU_Rsp_RawLen(apdu_rsp) - (*lr),0); \73 if (remain > 0) { \74 cs_log("MEMORY ERROR"); \75 err = TRUE; \76 } \77 (*lr) = MIN ((*lr), (short)APDU_Rsp_RawLen (apdu_rsp)); \78 memcpy (rsp, APDU_Rsp_Raw (apdu_rsp) + remain, (*lr)); \79 APDU_Rsp_Delete (apdu_rsp); \80 } \81 else \82 (*lr) = 0; \83 if (err) { \84 cs_log("ERROR creating APDU response"); \85 return ERROR; \86 } \87 }88 89 67 #endif /* _ICC_ASYNC_ */ 90 68 -
trunk/csctapi/protocol_t0.c
r3181 r3219 1 //FIXME Not checked on threadsafety yet; after checking please remove this line2 1 /* 3 2 protocol_t0.c -
trunk/csctapi/t1_block.c
r3181 r3219 1 //FIXME Not checked on threadsafety yet; after checking please remove this line2 1 /* 3 2 t1_block.h
Note:
See TracChangeset
for help on using the changeset viewer.