diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-11-07 12:07:17 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-11-07 12:07:17 +0000 |
commit | c38e52a3c0b061b44ebb589d362563613f2edab8 (patch) | |
tree | e366bdd7e41998dca16600f03e415d6457bdbd42 /security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h | |
parent | Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted (diff) |
Add opencryptoki 2.3.2, is an open PKCS#11 implementation library.
Obtained from: http://bsssd.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=264183
Diffstat (limited to 'security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h')
-rw-r--r-- | security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h b/security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h new file mode 100644 index 000000000000..bcbfff0dd613 --- /dev/null +++ b/security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h @@ -0,0 +1,15 @@ +--- usr/lib/pkcs11/common/tok_spec_struct.h.orig 2010-07-29 21:28:41.000000000 +0900 ++++ usr/lib/pkcs11/common/tok_spec_struct.h 2010-10-20 00:17:28.288984976 +0900 +@@ -308,9 +308,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 |