]> git.pld-linux.org Git - packages/openct.git/commitdiff
- some ccid fixes (but still not working) DEVEL
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Aug 2004 11:18:40 +0000 (11:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openct-ccid.patch -> 1.1

openct-ccid.patch [new file with mode: 0644]

diff --git a/openct-ccid.patch b/openct-ccid.patch
new file mode 100644 (file)
index 0000000..0210869
--- /dev/null
@@ -0,0 +1,26 @@
+--- openct-0.6.1/src/ifd/ifd-ccid.c.orig       Thu Jan 22 09:37:03 2004
++++ openct-0.6.1/src/ifd/ifd-ccid.c    Wed Jul 28 13:02:10 2004
+@@ -585,8 +585,8 @@
+         return -1;
+      }  
+-     if (ccid.dwMaxCCIDMessageLength < 271) {
+-        ct_error("ccid: max message size is only %d", r);
++     if (ccid.dwMaxCCIDMessageLength < 263 /*271*/) {
++        ct_error("ccid: max message size is only %d", ccid.dwMaxCCIDMessageLength);
+         free(st);
+         ifd_device_close(dev);
+         return -1;
+--- openct-0.6.1/src/ifd/ifd-ccid.c.orig       Wed Jul 28 13:03:00 2004
++++ openct-0.6.1/src/ifd/ifd-ccid.c    Wed Jul 28 14:59:02 2004
+@@ -444,8 +444,8 @@
+                   int ok=0;
+                   intf=&conf.interface[ifc].altsetting[alt];
+                   if (intf->bInterfaceClass != 0xb || 
+-                      intf->bInterfaceSubClass != 0 || 
+-                      intf->bInterfaceProtocol != 0)
++                      intf->bInterfaceSubClass > 1 || 
++                      intf->bInterfaceProtocol > 1)
+                        continue;
+                   if (intf->bNumEndpoints != 3)
+                        continue;
This page took 0.049545 seconds and 4 git commands to generate.