From: Anthony F. <ant...@gm...> - 2013-09-16 19:48:59
|
Michael -- On Mon, Sep 16, 2013 at 10:51 AM, Anthony Foiani <ant...@gm...> wrote: > Having said that, I don't recall making any change to the > functionality there, just refactoring / moving code around. It's been > a while, however. At least the "use first certificate if nothing else matched" was certainly there when I started this fork off commit 8d6264: https://github.com/tkil/engine_pkcs11/blob/8d6264eea5fb16dcd2c8d1a9e5ca6e031f370241/src/engine_pkcs11.c#L509 And the logic above (for matching ID strings) should be the same, just with different variable names / scopes. It would be interesting to see if Petr fixed this logic but left the code in the previous place. I won't have time to deep dive on this for quite a while, I'm afraid. Best regards, Anthony Foiani |