Changeset 1190 for trunk/src/ifd


Ignore:
Timestamp:
01/09/12 22:29:03 (4 months ago)
Author:
alonbl
Message:

epass2003 transmits >255 APDUs

Location:
trunk/src/ifd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/ifd-ccid.c

    r1189 r1190  
    7070 *  10 bytes ccid header + 4 bytes command header + 
    7171 *  1 byte Lc + 255 bytes data + 1 byte Le = 271 
     72 *  @ALON: Added +256 as APDUs grew at some point 
    7273 */ 
    73 #define CCID_MAX_MSG_LEN        271 
     74#define CCID_MAX_MSG_LEN        (271+256) 
    7475 
    7576static int msg_expected[] = { 
  • trunk/src/ifd/process.c

    r1188 r1190  
    387387                       ct_tlv_builder_t * resp) 
    388388{ 
    389         unsigned char replybuf[258]; 
     389        unsigned char replybuf[258+256]; /* @ALON: added +256 as APDUs grew at some point */ 
    390390        unsigned char *data; 
    391391        size_t data_len; 
Note: See TracChangeset for help on using the changeset viewer.