aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2008-09-28 12:48:41 +0000
committerMarcus Brinkmann <[email protected]>2008-09-28 12:48:41 +0000
commitd62ca1bf4a4bd6f90a2298802ade08f8d2f7b1e6 (patch)
tree628453d0528764016eff2c9de31833a6ba8aa6f4 /scd/apdu.c
parent* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its (diff)
downloadgnupg-d62ca1bf4a4bd6f90a2298802ade08f8d2f7b1e6.tar.gz
gnupg-d62ca1bf4a4bd6f90a2298802ade08f8d2f7b1e6.zip
2008-09-28 Marcus Brinkmann <[email protected]>
* apdu.c (pcsc_get_status): Fix last change.
Diffstat (limited to 'scd/apdu.c')
-rw-r--r--scd/apdu.c4
1 files changed, 2 insertions, 2 deletions
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;