|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] BUG in PKCS11 function C_SetAttributeValue
From: Ludovic Rousseau (ludovic.rousseau
free.fr)
Date: Thu Apr 28 2005 - 06:56:56 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le Thursday 28 April 2005 à 13:32:02, Roman Lewandowski a écrit:
> Hi,
Hello,
> It seems that there is a litte bug in C_SetAttributeValue function that may
> cause returning CKR_OK even if setting attribute value has actually failed.
>
> I think there should be:
> (void)CKR_ERROR(slot_EndTransaction(session->session.slotID,
> MSC_LEAVE_TOKEN));
>
> instead of:
> (void)CKR_ERROR(rv = slot_EndTransaction(session->session.slotID,
> MSC_LEAVE_TOKEN));
Could you explain how the bug could appear?
What do you think the effect of removing "rv = " is?
Regards,
--
Dr. Ludovic Rousseau Ludovic.Rousseau
free.fr
-- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]