1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2008-09-28 Marcus Brinkmann <marcus@g10code.com>

* apdu.c (pcsc_get_status): Fix last change.
This commit is contained in:
Marcus Brinkmann 2008-09-28 12:48:41 +00:00
parent d3157d6f8e
commit d62ca1bf4a
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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;