|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] Crashes in IDAP11.dll & Deinstallation & Installation
From: Chris Osgood (sclinux
functionalfuture.com)
Date: Fri Jan 21 2005 - 07:09:53 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2005-01-21 at 11:17 +0100, Karsten Ohme wrote:
> /* If preferences request non-threaded mode then force this flag */
> if (!st.prefs.threaded) {
> -->> init_args->flags |=CKF_LIBRARY_CANT_CREATE_OS_THREADS;
> }
>
> I do not know the reason(Anybody does?). It seems to be a ordinary OR.
> My solution was to try to set the Threaded parameter in the file
> pkcs11rc to TRUE. So Thunderbird does not crash.
Try the following patch:
--- p11_general.c.old 2005-01-21 08:01:30.000000000 -0500
+++ p11_general.c 2005-01-21 07:56:06.000000000 -0500

-41,11 +41,11 
rv = CKR_CRYPTOKI_ALREADY_INITIALIZED;
else
{
- if (!pInitArgs)
- init_args = &blank_init_args;
- else
+ init_args = &blank_init_args;
+
+ if (pInitArgs)
{
- init_args = (CK_C_INITIALIZE_ARGS *)pInitArgs;
+ memcpy(init_args, pInitArgs, sizeof(CK_C_INITIALIZE_ARGS));
log_Log(LOG_LOW, "Init flags: 0x%X", init_args->flags);
}
--
// Chris
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]