On Thu, Jul 29, 2010 at 9:40 PM, Klaus Heinrich Kiwi
<[email protected]> wrote:
>  * In key_mgr_unwrap_key(), don't use key_obj to check for
>   h_unwrapping key validity, as it could be incorrectly
>   free()'ed later in case of error.

ok! I proposed to use the same var just to not declare a new
one to be used only for that check, but the result is the same.

>  * Just to be safe, make obj_mgr_find_in_map1() function return
>   NULL as object pointer *ptr if the function fails

good idea!

cheers,
matteo.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to