1 --- openct-0.6.1/src/ifd/ifd-ccid.c.orig Thu Jan 22 09:37:03 2004
2 +++ openct-0.6.1/src/ifd/ifd-ccid.c Wed Jul 28 13:02:10 2004
7 - if (ccid.dwMaxCCIDMessageLength < 271) {
8 - ct_error("ccid: max message size is only %d", r);
9 + if (ccid.dwMaxCCIDMessageLength < 263 /*271*/) {
10 + ct_error("ccid: max message size is only %d", ccid.dwMaxCCIDMessageLength);
12 ifd_device_close(dev);
14 --- openct-0.6.1/src/ifd/ifd-ccid.c.orig Wed Jul 28 13:03:00 2004
15 +++ openct-0.6.1/src/ifd/ifd-ccid.c Wed Jul 28 14:59:02 2004
18 intf=&conf.interface[ifc].altsetting[alt];
19 if (intf->bInterfaceClass != 0xb ||
20 - intf->bInterfaceSubClass != 0 ||
21 - intf->bInterfaceProtocol != 0)
22 + intf->bInterfaceSubClass > 1 ||
23 + intf->bInterfaceProtocol > 1)
25 if (intf->bNumEndpoints != 3)