Changeset 572 for branches

Show
Ignore:
Timestamp:
10/25/04 06:42:24 (4 years ago)
Author:
aj
Message:

Allow TA4, Bug found by Priit Randla.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/openct-0.6/src/ifd/atr.c

    r509 r572  
    3434                unsigned int    TDi; 
    3535 
    36                 /* There is only TA1, TA2, TA3, no TA4 */ 
    37                 if (m > 2) 
     36                /* TA1, TA2, TA3, TA4 are legal, TA5 wouldn't be */ 
     37                if (m > 3) 
    3838                        return IFD_ERROR_INVALID_ATR; 
    3939