mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-15 08:23:24 +02:00
Fix bug 1045
This commit is contained in:
parent
bc0202a8c2
commit
4694c1a8eb
@ -1,5 +1,7 @@
|
|||||||
2009-05-11 Werner Koch <wk@g10code.com>
|
2009-05-11 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* apdu.c (send_le): Replace log_error by log_info. Fixes bug#1043.
|
||||||
|
|
||||||
* skclist.c (build_sk_list): Use log_info for "duplicated entry".
|
* skclist.c (build_sk_list): Use log_info for "duplicated entry".
|
||||||
Fixes bug#1045.
|
Fixes bug#1045.
|
||||||
|
|
||||||
|
@ -2632,8 +2632,11 @@ send_le (int slot, int class, int ins, int p0, int p1,
|
|||||||
rc = send_apdu (slot, apdu, apdulen, result, &resultlen, pininfo);
|
rc = send_apdu (slot, apdu, apdulen, result, &resultlen, pininfo);
|
||||||
if (rc || resultlen < 2)
|
if (rc || resultlen < 2)
|
||||||
{
|
{
|
||||||
log_error ("apdu_send_simple(%d) failed: %s\n",
|
/* We use log_info here so that in case of a transient error, and
|
||||||
slot, apdu_strerror (rc));
|
if this module is used by gpg standalone, the error counter
|
||||||
|
isn't incremented. */
|
||||||
|
log_info ("apdu_send_simple(%d) failed: %s\n",
|
||||||
|
slot, apdu_strerror (rc));
|
||||||
unlock_slot (slot);
|
unlock_slot (slot);
|
||||||
return rc? rc : SW_HOST_INCOMPLETE_CARD_RESPONSE;
|
return rc? rc : SW_HOST_INCOMPLETE_CARD_RESPONSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user