[Pcsclite-cvs-commit] CVS PKCS11/include

CVS User rousseau ludovic.rousseau@free.fr
Sun, 28 Nov 2004 07:30:29 -0700


Update of /cvsroot/muscleapps/PKCS11/include
In directory haydn:/tmp/cvs-serv21300/include

Modified Files:
	cryptoki.h 
Log Message:
reread object after the PIN is verfied. See
http://archives.neohapsis.com/archives/dev/muscle/2004-q4/0249.html

Thanks to Peter Stamfest for the patch.


--- /cvsroot/muscleapps/PKCS11/include/cryptoki.h	2003/06/05 00:46:49	1.22
+++ /cvsroot/muscleapps/PKCS11/include/cryptoki.h	2004/11/28 14:30:29	1.23
@@ -1,6 +1,6 @@
 /******************************************************************************
 ** 
-**  $Id: cryptoki.h,v 1.22 2003/06/05 00:46:49 corcoran-guest Exp $
+**  $Id: cryptoki.h,v 1.23 2004/11/28 14:30:29 rousseau Exp $
 **
 **  Package: PKCS-11
 **  Author : Chris Osgood <oznet@mac.com>
@@ -200,10 +200,13 @@
     P11_Object *objects;            /* List of objects                   */
     P11_MechInfo *mechanisms;       /* List of mechanisms                */
     P11_Pin pins[2];                /* Array of cached PIN's             */
+    CK_FLAGS flags;                 /* Some information bits (see below) */
     MSCStatusInfo status_info;      /* Status of token                   */
     MSCTokenConnection conn;        /* Connection to token               */
 } P11_Slot;
 
+#define P11_SLOT_REREAD_OBJECTS        1
+
 /* A session with one slot.  */
 typedef struct _P11_Session
 {