From d6d75c726e51c5596143cbe8cc6f6576cb39415c Mon Sep 17 00:00:00 2001 From: Fredrik Thulin <fredrik@thulin.net> Date: Thu, 17 Jan 2013 14:18:09 +0100 Subject: [PATCH] Add XXX comment about mutexes in init_args. --- gck-rpc-module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gck-rpc-module.c b/gck-rpc-module.c index a46588c..d858186 100644 --- a/gck-rpc-module.c +++ b/gck-rpc-module.c @@ -1272,6 +1272,7 @@ static CK_RV rpc_C_Initialize(CK_VOID_PTR init_args) /* pReserved must be NULL */ args = init_args; + /* XXX since we're never going to call the supplied mutex functions, shouldn't we reject them? */ /* ALL supplied function pointers need to have the value either NULL or non-NULL. */ supplied_ok = (args->CreateMutex == NULL && args->DestroyMutex == NULL -- GitLab