mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Preparing 2.0.1
This commit is contained in:
parent
fecadab9c3
commit
252b668814
13 changed files with 40 additions and 11 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-11-28 Werner Koch <wk@g10code.com>
|
||||
|
||||
* apdu.c (send_le, apdu_send_direct): Increase RESULTLEN to 258 to
|
||||
allow for full 256 byte and the status word. This might break
|
||||
some old PC/SC drivers or cards, but we will see. Suggested by
|
||||
Kenneth Wang.
|
||||
|
||||
2006-11-23 Werner Koch <wk@g10code.com>
|
||||
|
||||
* command.c (scd_command_handler): Fixed use of CTRL.
|
||||
|
|
|
@ -2603,7 +2603,7 @@ send_le (int slot, int class, int ins, int p0, int p1,
|
|||
unsigned char **retbuf, size_t *retbuflen,
|
||||
struct pininfo_s *pininfo)
|
||||
{
|
||||
#define RESULTLEN 256
|
||||
#define RESULTLEN 258
|
||||
unsigned char result[RESULTLEN+10]; /* 10 extra in case of bugs in
|
||||
the driver. */
|
||||
size_t resultlen;
|
||||
|
@ -2866,7 +2866,7 @@ apdu_send_direct (int slot, const unsigned char *apdudata, size_t apdudatalen,
|
|||
int handle_more,
|
||||
unsigned char **retbuf, size_t *retbuflen)
|
||||
{
|
||||
#define RESULTLEN 256
|
||||
#define RESULTLEN 258
|
||||
unsigned char apdu[5+256+1];
|
||||
size_t apdulen;
|
||||
unsigned char result[RESULTLEN+10]; /* 10 extra in case of bugs in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue