[opensc-devel] Defect links in wiki

2009-03-06 Thread Dominik Fischer
Hello, the following links to APIs are broken: http://www.opensc-project.org/doc/libp11/api/index.html http://www.opensc-project.org/pkcs11-helper/files/pkcs11-helper/doc/api Although the documentations are in the packages these links should be fixed. Regards, Dominik

Re: [opensc-devel] Defect links in wiki

2009-03-06 Thread Alon Bar-Lev
Thanks! I fixed the pkcs11-helper, that was easy. Andreas, I just discovered the /doc something... I guess this is automatic generation of packages? Alon. On Fri, Mar 6, 2009 at 10:19 AM, Dominik Fischer dom_fisc...@web.de wrote: Hello, the following links to APIs are broken:

Re: [opensc-devel] [opensc-commits] svn opensc changed [3659] Improve this function even more.

2009-03-06 Thread Weitao Sun
Hi aj, webmas...@opensc-project.org wrote: Revision: 3659 Author: aj Date: 2009-03-05 18:37:55 + (Thu, 05 Mar 2009) Log Message: --- Improve this function even more. Modified Paths: -- trunk/src/pkcs15init/pkcs15-lib.c Modified:

Re: [opensc-devel] [opensc-commits] svn opensc changed [3659] Improve this function even more.

2009-03-06 Thread Andreas Jellinghaus
Am Freitag 06 März 2009 09:46:48 schrieb Weitao Sun: Hi aj, - end = p + len; - while (p end (tag = *p++) != 0 tag != 0xFF) { + end = p + (len - 1); value of len may be 0,this cause segment fault later. no, it would set end = p -1; and then while (p end) is false, thus we

Re: [opensc-devel] Defect links in wiki

2009-03-06 Thread Andreas Jellinghaus
Am Freitag 06 März 2009 09:43:59 schrieb Alon Bar-Lev: Thanks! I fixed the pkcs11-helper, that was easy. Andreas, I just discovered the /doc something... I guess this is automatic generation of packages? yes, the snapshot script was not updated to include the new configure parameters. I

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Alon Bar-Lev
WOW! Thanks for finding this! Ludovic, can you please confirm this? pcsc-lite diffrence from Windows. It is used by CM_IOCTL_GET_FEATURE_REQUEST, So: #define CM_IOCTL_GET_FEATURE_REQUEST SCARD_CTL_CODE(3400) Should be actually be: #define CM_IOCTL_GET_FEATURE_REQUEST SCARD_CTL_CODE(850)

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Martin Paljak
SCardControl talks to reader drivers, not pcsc-lite or pc/sc subsystem in that matter. 3400 was the original reference number in teletrust (which later became PC/SC v2 part 10 which deals with pinpads). Historic note: http://osdir.com/ml/lib.muscle/2005-03/msg00074.html We really should not

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Alon Bar-Lev
2009/3/6 Martin Paljak mar...@paljak.pri.ee: SCardControl talks to reader drivers, not pcsc-lite or pc/sc subsystem in that matter. 3400 was the original reference number in teletrust (which later became PC/SC v2 part 10 which deals with pinpads). Historic note:

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Martin Paljak
On 06.03.2009, at 17:18, Alon Bar-Lev wrote: 2009/3/6 Martin Paljak mar...@paljak.pri.ee: SCardControl talks to reader drivers, not pcsc-lite or pc/sc subsystem in that matter. 3400 was the original reference number in teletrust (which later became PC/SC v2 part 10 which deals with

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Martin Paljak
On 06.03.2009, at 17:18, Alon Bar-Lev wrote: We really should not have a separate winscard try to mimic what is the original thing header. True. We use system provided if available, mingw32(32bit) does not provide one. Maybe it is possible to fix mingw32 so that it would contain the

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Peter Stuge
Martin Paljak wrote: True. We use system provided if available, mingw32(32bit) does not provide one. Maybe it is possible to fix mingw32 so that it would contain the required header? Is there a reason why it is not included or could someone more familiar with mingw open a ticket? It