Am Dienstag 16 Juni 2009 12:18:02 schrieb Kroehnert, Andreas:
> Hi Andreas,
>
> indeed my fault, the attempt was to check if the slotid is not 0, there
> is a conversion missing.
>
> Problem was that the slot id was not parsed from the string but the
> whole string. e.g. "slot_5" resulted in a slot ID equals to the string
> instead of "5". This caused problems with one of our HSM's where if no
> slot ID is passed on it defaults to 0. Ending up in situation if a lot
> greater 0 is used as keystore, the engine wont be able to access it.
>
> should have been changed to somehing better, but ended up in a bogus
> that worked.
>
> Currently checking the new build...

libp11.exports needs the new symbol.

except for that, the engine_pkcs11.c code looks good (but I haven't
done any testing on it).

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to