summaryrefslogtreecommitdiff
path: root/security/opencryptoki/files/patch-usr-lib-pkcs11-tpm_stdll-tok_spec_struct.h
blob: c49362f9205332c120640f9684ee1f91d8fb8ea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- usr/lib/pkcs11/tpm_stdll/tok_spec_struct.h.orig	2010-07-29 21:28:41.000000000 +0900
+++ usr/lib/pkcs11/tpm_stdll/tok_spec_struct.h	2010-10-20 00:30:22.991986453 +0900
@@ -33,9 +33,9 @@
 #define _TOK_SPECIFIC_STRUCT
 
 struct token_specific_struct{
-   CK_BYTE  token_directory[PATH_MAX];  // Used to be in the token_local.h as a #def
-   CK_BYTE  token_subdir[PATH_MAX];     // subdirectory
-   CK_BYTE  token_debug_tag[PATH_MAX];  // debug logging tag
+   CK_BYTE  *token_directory;  // Used to be in the token_local.h as a #def
+   CK_BYTE  *token_subdir;     // subdirectory
+   CK_BYTE  *token_debug_tag;  // debug logging tag
 
    CK_RV  (*t_init)(char *,CK_SLOT_ID);             // Initialization function
    int  (*t_slot2local)();       // convert the PKCS#11 slot to a local index