Hello, On Jul 11, 2011, at 10:53 , Thomas Grenman wrote: > > I emailed the patch to Martin and CC to the list. The email never got > through to the list tough. Do not know why... You sent the e-mail from an address which was not subscribed and where messages bounced back from (like the notification of missing subscription)
> On Sat, 9 Jul 2011, Viktor Tarasov wrote: >> Martin's patch concerns the 'bind_internal' procedure. >> In this procedure the 'FILE_NOT_FOUND' error returned by 'sc_enum_apps' has >> to >> validate the using of 'bind_internal' for the non-pkcs#15 card. >> In this context the SC_SUCCESS is also an error -- 'bind-internal' has not >> to be called for the card that seems to be pkcs#15 compatible. >> >> As for me, >> the cheap and close to the actual logic would be, inside the sc_enum_apps, >> replace any error of selection of 2F00 by the SC_ERROR_FILE_NOT_FOUND. >> Something like this: Further restricting sc_enum_apps would also do good. -- @MartinPaljak.net +3725156495 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel