]> git.pld-linux.org Git - packages/openct.git/blob - openct-ccid.patch
- release 2
[packages/openct.git] / openct-ccid.patch
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
3 @@ -585,8 +585,8 @@
4           return -1;
5       }  
6  
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);
11           free(st);
12           ifd_device_close(dev);
13           return -1;
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
16 @@ -444,8 +444,8 @@
17                     int ok=0;
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)
24                          continue;
25                     if (intf->bNumEndpoints != 3)
26                          continue;
This page took 0.148792 seconds and 3 git commands to generate.