From 9985957799fd7142125f1d2dd0fae4366ec83f32 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 31 Mar 2011 10:24:08 +0200 Subject: 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. --- module/p11-kit-private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/p11-kit-private.h') 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); -- cgit v1.1