mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-12 22:11:29 +02:00
small fix for Omnikey. Works with CM4040 now.
This commit is contained in:
parent
9c47553308
commit
35d41eb927
@ -1,3 +1,7 @@
|
|||||||
|
2009-06-30 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* ccid-driver.c (ccid_transceive): Set RESYNCING flag.
|
||||||
|
|
||||||
2009-06-29 Werner Koch <wk@g10code.com>
|
2009-06-29 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* ccid-driver.c (ccid_transceive): Add a hack to support extended
|
* ccid-driver.c (ccid_transceive): Add a hack to support extended
|
||||||
|
@ -2637,6 +2637,7 @@ ccid_transceive (ccid_driver_t handle,
|
|||||||
if (via_escape)
|
if (via_escape)
|
||||||
nad_byte = 0;
|
nad_byte = 0;
|
||||||
|
|
||||||
|
last_tpdulen = 0; /* Avoid gcc warning (controlled by RESYNCING). */
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (next_chunk)
|
if (next_chunk)
|
||||||
@ -2870,6 +2871,7 @@ ccid_transceive (ccid_driver_t handle,
|
|||||||
if (use_crc)
|
if (use_crc)
|
||||||
tpdu[tpdulen++] = (edc >> 8);
|
tpdu[tpdulen++] = (edc >> 8);
|
||||||
tpdu[tpdulen++] = edc;
|
tpdu[tpdulen++] = edc;
|
||||||
|
resyncing = 1;
|
||||||
DEBUGOUT_1 ("T=1: requesting an ifsc=%d\n", ifsc);
|
DEBUGOUT_1 ("T=1: requesting an ifsc=%d\n", ifsc);
|
||||||
}
|
}
|
||||||
else if ( !(tpdu[1] & 0x20) && (tpdu[1] & 0x1f) == 3 && tpdu[2])
|
else if ( !(tpdu[1] & 0x20) && (tpdu[1] & 0x1f) == 3 && tpdu[2])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user