summaryrefslogtreecommitdiff
path: root/security/opencryptoki/files/patch-usr-lib-pkcs11-api-api_interface.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--security/opencryptoki/files/patch-usr-lib-pkcs11-api-api_interface.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/security/opencryptoki/files/patch-usr-lib-pkcs11-api-api_interface.c b/security/opencryptoki/files/patch-usr-lib-pkcs11-api-api_interface.c
deleted file mode 100644
index e8dc61475253..000000000000
--- a/security/opencryptoki/files/patch-usr-lib-pkcs11-api-api_interface.c
+++ /dev/null
@@ -1,35 +0,0 @@
---- usr/lib/pkcs11/api/api_interface.c.orig 2010-07-29 21:28:41.000000000 +0900
-+++ usr/lib/pkcs11/api/api_interface.c 2010-10-19 23:52:25.355983620 +0900
-@@ -2390,7 +2390,7 @@
- C_GetFunctionList ( CK_FUNCTION_LIST_PTR_PTR ppFunctionList )
- {
-
-- _init();
-+ api_init();
-
- LOG("C_GetFunctionList");
- FuncList.version.major = VERSION_MAJOR;
-@@ -5168,7 +5168,11 @@
-
- }
-
-+#ifdef __sun
-+#pragma init(api_init)
-+#else
- void api_init(void) __attribute__((constructor));
-+#endif
-
- void
- api_init(void)
-@@ -5194,7 +5198,11 @@
-
- }
-
-+#ifdef __sun
-+#pragma fini(api_fini)
-+#else
- void api_fini(void) __attribute__((destructor));
-+#endif
-
- void
- api_fini()