[openct] Question about proto-t1.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[openct] Question about proto-t1.c

Priit Randla


Sholdn't there be something like :
/* Check the APDU case etc */
if ((rc = ifd_iso_apdu_parse(snd_buf, snd_len, &iso)) < 0)
      return rc;
somewhere in the beginning of t1_transceive?
I have a reader (Xiring XiPass), which handles T=1 frames, but the
protocol itself is left
for openct to handle. Unfortunately the device isn't intelligent enough
and tends to die if fed with
incorrectly formatted APDU's. So maybe it'd be good to check incoming
APDU's in t1_tranceive?


opensc-devel mailing list
[hidden email]