/[pcsclite]/trunk/Drivers/ccid/src/ifdhandler.c
ViewVC logotype

Diff of /trunk/Drivers/ccid/src/ifdhandler.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1195 by rousseau, Tue Aug 24 07:34:10 2004 UTC revision 1196 by rousseau, Tue Aug 24 07:58:01 2004 UTC
# Line 544  RESPONSECODE IFDHSetProtocolParameters(D Line 544  RESPONSECODE IFDHSetProtocolParameters(D
544    
545                  /* CRC checksum? */                  /* CRC checksum? */
546                  if (2 == t1->rc_bytes)                  if (2 == t1->rc_bytes)
547                          param[1] &= 0x01;                          param[1] |= 0x01;
548    
549                  /* the CCID should ignore this bit */                  /* the CCID should ignore this bit */
550                  if (ATR_CONVENTION_INVERSE == convention)                  if (ATR_CONVENTION_INVERSE == convention)
551                          param[1] &= 0x02;                          param[1] |= 0x02;
552    
553                  /* get TC1 Extra guard time */                  /* get TC1 Extra guard time */
554                  if (atr.ib[0][ATR_INTERFACE_BYTE_TC].present)                  if (atr.ib[0][ATR_INTERFACE_BYTE_TC].present)
# Line 585  RESPONSECODE IFDHSetProtocolParameters(D Line 585  RESPONSECODE IFDHSetProtocolParameters(D
585                          param[0] = pps[2];                          param[0] = pps[2];
586    
587                  if (ATR_CONVENTION_INVERSE == convention)                  if (ATR_CONVENTION_INVERSE == convention)
588                          param[1] &= 0x02;                          param[1] |= 0x02;
589    
590                  /* get TC1 Extra guard time */                  /* get TC1 Extra guard time */
591                  if (atr.ib[0][ATR_INTERFACE_BYTE_TC].present)                  if (atr.ib[0][ATR_INTERFACE_BYTE_TC].present)

Legend:
Removed from v.1195  
changed lines
  Added in v.1196

  ViewVC Help
Powered by ViewVC 1.1.5