summaryrefslogtreecommitdiff
path: root/module/p11-kit-private.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-03-31 10:24:08 +0200
committerStef Walter <stefw@collabora.co.uk>2011-03-31 10:24:08 +0200
commit9985957799fd7142125f1d2dd0fae4366ec83f32 (patch)
tree9bd5330ef59460ca4c152749593ab9ec1011a31d /module/p11-kit-private.h
parent1104f03d9b34cc659838124e00ac864c35af4f82 (diff)
Custom initialization and finalization arguments cannot be supported.
When multiple consumers are using a PKCS#11 module, initialization (and finalization) arguments cannot be supported. The first one calling would win out, and the others would get unexpected behavior.
Diffstat (limited to 'module/p11-kit-private.h')
-rw-r--r--module/p11-kit-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/p11-kit-private.h b/module/p11-kit-private.h
index 3760de4..5fbe1eb 100644
--- a/module/p11-kit-private.h
+++ b/module/p11-kit-private.h
@@ -43,9 +43,9 @@ extern pthread_mutex_t _p11_mutex;
CK_FUNCTION_LIST_PTR_PTR _p11_kit_registered_modules_unlocked (void);
-CK_RV _p11_kit_initialize_registered_unlocked_reentrant (CK_C_INITIALIZE_ARGS_PTR args);
+CK_RV _p11_kit_initialize_registered_unlocked_reentrant (void);
-CK_RV _p11_kit_finalize_registered_unlocked_reentrant (CK_VOID_PTR args);
+CK_RV _p11_kit_finalize_registered_unlocked_reentrant (void);
void _p11_kit_proxy_after_fork (void);