summaryrefslogtreecommitdiff
path: root/ckcapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ckcapi.c')
-rw-r--r--ckcapi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ckcapi.c b/ckcapi.c
index 594b1b9..4635a3f 100644
--- a/ckcapi.c
+++ b/ckcapi.c
@@ -31,8 +31,6 @@ static CK_ULONG slot_id = 33; /* arbitrary */
static int cryptoki_initialized = 0;
static HANDLE global_mutex = NULL;
-#define CRYPTOKI_VERSION_MAJOR 2
-#define CRYPTOKI_VERSION_MINOR 11
#define MANUFACTURER_ID "Cryptoki CAPI "
#define LIBRARY_DESCRIPTION "Cryptoki CAPI Provider "
#define LIBRARY_VERSION_MAJOR 1
@@ -1127,7 +1125,7 @@ CC_C_GenerateRandom(CK_SESSION_HANDLE session, CK_BYTE_PTR random_data,
RETURN(CKR_FUNCTION_NOT_SUPPORTED);
}
-static struct CK_FUNCTION_LIST functionList = {
+static CK_FUNCTION_LIST functionList = {
{ 2, 11 }, /* version */
CC_C_Initialize,
CC_C_Finalize,