Sholdn't there be something like :
/* Check the APDU case etc */
if ((rc = ifd_iso_apdu_parse(snd_buf, snd_len, &iso)) < 0)
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?