Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: [Muscle] C_DestroyObject does not work in libmusclepkcs11?
From: Geoffrey Elgey (gelgeyvintela.com)
Date: Wed May 25 2005 - 12:52:35 CDT
David Corcoran wrote:
> I think you added that code in the wrong spot. The function you added
> it to is an internal function which deletes memory. This is likely why
> you are seeing the strange behavior. Take that same code and add it to
> p11_object.c in C_DestroyObject. This is where you want to put that ....
Putting the code in C_DestroyObject fixes the "token not initialized"
problem I was having, but now the objects themselves are not destroyed
(as shown by muscletool).
It seems the calls to msc_DeleteObject fail:
26/05 03:50:20 Object handle: 804C290
26/05 03:50:20 (p11_object.c 286): error: 0x9C05 "Feature unsupported"
26/05 03:50:20 (p11_object.c 297): error: 0x9C05 "Feature unsupported"
26/05 03:50:20 Removing object: 804C290
26/05 03:50:20 Removing attribute: 804C640
26/05 03:50:20 Removing attribute: 804C610
26/05 03:50:20 Removing attribute: 804C5F0
26/05 03:50:20 Removing attribute: 804C5C0
26/05 03:50:20 Removing attribute: 804C590
26/05 03:50:20 Removing attribute: 804C550
26/05 03:50:20 Removing attribute: 804C508
26/05 03:50:20 -C_DestroyObject : end RV(0x0)
Muscle mailing list