summaryrefslogtreecommitdiff
path: root/security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2016-05-18 17:22:59 +0000
committerHiroki Sato <hrs@FreeBSD.org>2016-05-18 17:22:59 +0000
commit8c8d2c3d81fac5c01075447b436c4fe1cb4c8d22 (patch)
treef93cc66ba1590fe367a4281fcf04cf8541a60583 /security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h
parentUpdate to 1.3.8. (diff)
Update to 3.5. Notable changes are as follows:
- No longer required to run pkcs11_startup. pkcs11_startup and pkcs_slotd were shell scripts that created the config file, pk_config_data, which was read by pkcsslotd to get available slot information. The pk_config_data configuration file has been replaced with /etc/opencryptoki/opencryptoki.conf. In version 3, the pkcsslotd daemon reads opencryptoki.conf to get slot information. The opencryptoki.conf by default contains slot information for each token currently supported by opencryptoki with the exception of the ICSF token, which requires some initial setup. Please see man page for opencryptoki.conf for further information. Since pk_config_data is no longer required, pkcs11_startup and pkcs_slotd have been removed.
Notes
Notes: svn path=/head/; revision=415459
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.h15
1 files changed, 0 insertions, 15 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
deleted file mode 100644
index bcbfff0dd613..000000000000
--- a/security/opencryptoki/files/patch-usr-lib-pkcs11-common-tok_spec_struct.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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