Re: [opensc-devel] Call for testing of the upcoming 0.12.0 release / PIN not asked

2010-09-15 Thread Martin Paljak
Peter, r4722 does not affect the TCOS issue. You probably missed the e-mail, but I created a ticket for this: http://www.opensc-project.org/opensc/ticket/256 On Thu, Sep 16, 2010 at 01:12, Peter Koch wrote: > Hi Johannes: > > 2010/9/9 Johannes Becker >> >> Hello, >> >> now I have the opensc-d

Re: [opensc-devel] Call for testing of the upcoming 0.12.0 release / PIN not asked

2010-09-15 Thread Peter Koch
Hi Johannes: 2010/9/9 Johannes Becker > Hello, > > now I have the opensc-debug logs for pkcs11-tool -L with TCOS > > opensc version 0.11.13-1 gives > token flags: login required, PIN initialized, token initialized > http://www.uni-giessen.de/~g013/opensc/opensc-debug.0.11.13-1.log

Re: [opensc-devel] card->max_recv_size problem

2010-09-15 Thread Andre Zepezauer
On Wed, 2010-09-15 at 11:43 -0500, Douglas E. Engert wrote: > > On 9/15/2010 6:30 AM, Martin Paljak wrote: > > Hello, > > On Sep 15, 2010, at 12:12 PM, Viktor TARASOV wrote: > >>> Not yet! I had to replace line 122 of iso7816.c > assert(count<= card->max_recv_size); > >>> by > assert(cou

Re: [opensc-devel] card->max_recv_size problem

2010-09-15 Thread Douglas E. Engert
On 9/15/2010 6:30 AM, Martin Paljak wrote: > Hello, > On Sep 15, 2010, at 12:12 PM, Viktor TARASOV wrote: >>> Not yet! I had to replace line 122 of iso7816.c assert(count<= card->max_recv_size); >>> by assert(count<= card->max_recv_size>0 ? card->max_recv_size : 256); >>> >>> And then e

Re: [opensc-devel] RE : OpenSC and Debug with Visual Studio

2010-09-15 Thread Ludovic Rousseau
2010/9/15 JEAN Guillaume : > Sorry, not yet tested the patch Ludovic Rousseau Because the version of the > source I used is the 4620 so I'm updating my sources on Visual and I did the > tests with the patch. > > Here is another patch to remove the traces of C99 in the code that Visual > cardmod

[opensc-devel] RE : OpenSC and Debug with Visual Studio

2010-09-15 Thread JEAN Guillaume
Sorry, not yet tested the patch Ludovic Rousseau Because the version of the source I used is the 4620 so I'm updating my sources on Visual and I did the tests with the patch. Here is another patch to remove the traces of C99 in the code that Visual cardmod can compile the code. Sorry for my en

Re: [opensc-devel] card->max_recv_size problem

2010-09-15 Thread Martin Paljak
Hello, On Sep 15, 2010, at 12:12 PM, Viktor TARASOV wrote: >> Not yet! I had to replace line 122 of iso7816.c >> > assert(count <= card->max_recv_size); >> by >> > assert(count <= card->max_recv_size>0 ? card->max_recv_size : 256); >> >> And then everything worked as expected. > > The same concer

[opensc-devel] RE : OpenSC and Debug with Visual Studio

2010-09-15 Thread JEAN Guillaume
I Try it. ___ De : Ludovic Rousseau [ludovic.rouss...@gmail.com] Date d'envoi : mercredi 15 septembre 2010 11:32 À : JEAN Guillaume Cc : opensc-devel@lists.opensc-project.org Objet : Re: [opensc-devel] OpenSC and Debug with Visual Studio Hello, 2010/9/15 JEAN Guillau

Re: [opensc-devel] OpenSC and Debug with Visual Studio

2010-09-15 Thread Ludovic Rousseau
Hello, 2010/9/15 JEAN Guillaume : > I made a patch to remove a problem with the initialization of structures when > using Visual Studio debugger mode. Because >  Visual Studio does not initialize the structure with 0 but random data. In > my case cdcdcdcd. I don't think your patch is correct. T

Re: [opensc-devel] OpenSSL 1.0 on windows

2010-09-15 Thread Viktor TARASOV
Martin Paljak wrote: > Hello, > > On Sep 15, 2010, at 11:08 AM, Viktor TARASOV wrote: > >> Andreas Jellinghaus wrote: >> >>> I got very bad results with OpenSSL 1.0.0 (and 1.0.0a) on Windows in Server >>> Environment: stability issues that couldn't be tracked down. The same code >>> works

Re: [opensc-devel] OpenSC and Debug with Visual Studio

2010-09-15 Thread Martin Paljak
Hello, On Sep 15, 2010, at 12:04 PM, JEAN Guillaume wrote: > I made a patch to remove a problem with the initialization of structures when > using Visual Studio debugger mode. Because > Visual Studio does not initialize the structure with 0 but random data. In my > case cdcdcdcd. Will not apply.

Re: [opensc-devel] card->max_recv_size problem

2010-09-15 Thread Viktor TARASOV
Peter Koch wrote: Hi Martin! 2010/9/13 Martin Paljak > > Should I set card->max_recv_size and card->max_send_size > in tcos_init()? > No. Sorry, this place was erroneously left untouched and is fixed in SVN trunk. Please verify that it works as

[opensc-devel] OpenSC and Debug with Visual Studio

2010-09-15 Thread JEAN Guillaume
Hello, I made a patch to remove a problem with the initialization of structures when using Visual Studio debugger mode. Because Visual Studio does not initialize the structure with 0 but random data. In my case cdcdcdcd. Sincerely, GJean VS-Initialize.patch Description: VS-Initi

Re: [opensc-devel] OpenSSL 1.0 on windows

2010-09-15 Thread Martin Paljak
Hello, On Sep 15, 2010, at 11:08 AM, Viktor TARASOV wrote: > Andreas Jellinghaus wrote: >> I got very bad results with OpenSSL 1.0.0 (and 1.0.0a) on Windows in Server >> Environment: stability issues that couldn't be tracked down. The same code >> works well with 0.9.8o. >> >> So maybe you too w

Re: [opensc-devel] OpenSSL 1.0 on windows

2010-09-15 Thread Viktor TARASOV
Andreas Jellinghaus wrote: > I got very bad results with OpenSSL 1.0.0 (and 1.0.0a) on Windows in Server > Environment: stability issues that couldn't be tracked down. The same code > works well with 0.9.8o. > > So maybe you too want to go back to the last 0.9.8* release, until OpenSSL > releases