Added basic version of login.

This commit is contained in:
Alessio Di Mauro
2015-07-14 16:51:08 +02:00
parent 0e4569af2c
commit de7e1ed000
3 changed files with 33 additions and 7 deletions
+4 -2
View File
@@ -245,9 +245,11 @@ typedef CK_SESSION_HANDLE CK_PTR CK_SESSION_HANDLE_PTR;
* v2.0 */
typedef CK_ULONG CK_USER_TYPE;
/* Security Officer */
#define CKU_SO 0
#define CKU_SO 0
/* Normal user */
#define CKU_USER 1
#define CKU_USER 1
/* Context specific */
#define CKU_CONTEXT_SPECIFIC 2
/* CK_STATE enumerates the session states */