On Thu, 2011-02-03 at 16:15 +0100, Andre Zepezauer wrote: > Hello Juan Antonio, > > attached tar file contains an external loadable emulator. Most things in > it are written to the information I got from your 'pkcs15-tool -D' dump. > But don't expect it to work instantly. > > I assumed following locations: > * EF.TokenInfo 3F005032 > * EF.ODF 3F005031 > > Maybe put an 'exit(0)' at the end of the 'bind' function and use > 'OPENSC_DEBUG=9'. I mean until you got that stuff loaded correctly.
I was talking about that 'bind' function: Index: src/libopensc/pkcs15.c =================================================================== --- src/libopensc/pkcs15.c (revision 5126) +++ src/libopensc/pkcs15.c (working copy) @@ -959,12 +959,14 @@ goto error; } done: + exit(0); fix_starcos_pkcs15_card(p15card); *p15card_out = p15card; sc_unlock(card); SC_FUNC_RETURN(ctx, SC_LOG_DEBUG_NORMAL, SC_SUCCESS); error: + exit(0); sc_unlock(card); sc_pkcs15_card_free(p15card); SC_FUNC_RETURN(ctx, SC_LOG_DEBUG_NORMAL, r); _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel