[Pcsclite-cvs-commit] r428 - trunk/PKCS11/src

Ludovic Rousseau rousseau at alioth.debian.org
Tue Apr 10 07:15:38 UTC 2007


Author: rousseau
Date: 2007-04-10 07:15:37 +0000 (Tue, 10 Apr 2007)
New Revision: 428

Modified:
   trunk/PKCS11/src/p11x_object.c
Log:
object_UserMode(): do not skip the last object

Thanks to Luiz Reuter Silva Torro for the patch
http://archives.neohapsis.com/archives/dev/muscle/2007-q2/0008.html


Modified: trunk/PKCS11/src/p11x_object.c
===================================================================
--- trunk/PKCS11/src/p11x_object.c	2006-11-25 20:20:22 UTC (rev 427)
+++ trunk/PKCS11/src/p11x_object.c	2007-04-10 07:15:37 UTC (rev 428)
@@ -2358,7 +2358,7 @@
     else
     {
         object_l = st.slots[session->session.slotID - 1].objects;
-        while(object_l && object_l->next)
+        while(object_l)
         {
             if (object_l->sensitive)
             {




More information about the Pcsclite-cvs-commit mailing list