diff options
Diffstat (limited to 'scd')
-rw-r--r-- | scd/ChangeLog | 4 | ||||
-rw-r--r-- | scd/apdu.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog index 572959c70..c2d5916ae 100644 --- a/scd/ChangeLog +++ b/scd/ChangeLog @@ -1,3 +1,7 @@ +2008-09-28 Marcus Brinkmann <marcus@g10code.com> + + * apdu.c (pcsc_get_status): Fix last change. + 2008-09-25 Werner Koch <wk@g10code.com> * app-openpgp.c (do_setattr): Do not allow setting of the reset diff --git a/scd/apdu.c b/scd/apdu.c index 5c1c699b4..38a400bdf 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -1092,8 +1092,8 @@ pcsc_get_status (int slot, unsigned int *status) #else /* Some winscard drivers may set EXCLUSIVE and INUSE at the same time when we are the only user (SCM SCR335) under Windows. */ - if ((status & 6) == 6) - status |= 1; + if ((*status & 6) == 6) + *status |= 1; #endif return 0; |