Changeset 1951 for trunk/csctapi/protocol_t1.c
- Timestamp:
- 04/05/10 09:13:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/protocol_t1.c
r1949 r1951 47 47 */ 48 48 49 int Protocol_T1_Command (struct s_reader *reader, unsigned char * command, unsigned long command_len, APDU_Rsp ** rsp)49 int Protocol_T1_Command (struct s_reader *reader, unsigned char * command, unsigned short command_len, unsigned char * rsp, unsigned short * lr) 50 50 { 51 51 T1_Block *block; … … 244 244 } 245 245 246 if (ret == OK) 247 (*rsp) = APDU_Rsp_New (buffer, counter); 246 if (ret == OK) { 247 memcpy(rsp, buffer, counter); 248 *lr = counter; 249 } 248 250 249 251 if (buffer != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.