[svn] GnuPG - r4838 - trunk/scd

svn author marcus cvs at cvs.gnupg.org
Sun Sep 28 14:48:42 CEST 2008


Author: marcus
Date: 2008-09-28 14:48:41 +0200 (Sun, 28 Sep 2008)
New Revision: 4838

Modified:
   trunk/scd/ChangeLog
   trunk/scd/apdu.c
Log:
2008-09-28  Marcus Brinkmann  <marcus at g10code.com>

	* apdu.c (pcsc_get_status): Fix last change.


Modified: trunk/scd/ChangeLog
===================================================================
--- trunk/scd/ChangeLog	2008-09-25 18:12:39 UTC (rev 4837)
+++ trunk/scd/ChangeLog	2008-09-28 12:48:41 UTC (rev 4838)
@@ -1,3 +1,7 @@
+2008-09-28  Marcus Brinkmann  <marcus at g10code.com>
+
+	* apdu.c (pcsc_get_status): Fix last change.
+
 2008-09-25  Werner Koch  <wk at g10code.com>
 
 	* app-openpgp.c (do_setattr): Do not allow setting of the reset

Modified: trunk/scd/apdu.c
===================================================================
--- trunk/scd/apdu.c	2008-09-25 18:12:39 UTC (rev 4837)
+++ trunk/scd/apdu.c	2008-09-28 12:48:41 UTC (rev 4838)
@@ -1092,8 +1092,8 @@
 #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;




More information about the Gnupg-commits mailing list