Hi, I have a test case for my application that does roughly the following:
1. Tspi_Context_Create() 2. Tspi_Context_LoadKeyByUUID() 3. Tspi_Data_Bind() 4. Tspi_Key_UnloadKey() 5. Tspi_Context_LoadKeyByUUID() 6. Tspi_Data_Unbind() 7. Tspi_Key_UnloadKey() 8. Tspi_Context_Close() The problem occurs at steps 6 and 7 with 0x20c5 error (the comment in header file says "the key has been unloaded"). If I remove step 4 then everything works fine. It will also work if I re-create context between steps 4 and 5. And also, if I replace Tspi_Context_LoadKeyByUUID() with Tspi_Context_GetKeyByUUID() followed by Tspi_Key_LoadKey() then it works fine too. All this makes me think that there may be a bug in Tspi_Context_LoadKeyByUUID() function that it does not actually load the key second time if it was loaded before and just returns success. Any thoughts? ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
