Re: [opensc-devel] [opensc-commits] svn opensc changed [3183] silence more warnings.

2007-06-21 Thread Andreas Jellinghaus
On Thursday 21 June 2007 22:38:08 Douglas E. Engert wrote: > > the last open warnings I'm aware off: > > - two warnings concerning some not defined setting in cardos code. > > - some warnings with openssl functions and wrong parameter types. > >but I have no clue why, those all look fine to m

Re: [opensc-devel] opensc provides its own .m4 files?

2007-06-21 Thread Thomas Harning Jr.
On Thu, 2007-06-21 at 21:34 +0200, Andreas Jellinghaus wrote: > personally I'd like to investigate cmake. if we can use that for our windows Another useful option could be 'premake'. It's a 'makefile' builder that can build GNU make, Visual Studio {6,200[235]}, and Code::Blocks Studio. It's pret

Re: [opensc-devel] [opensc-commits] svn opensc changed [3183] silence more warnings.

2007-06-21 Thread Douglas E. Engert
Andreas Jellinghaus wrote: > On Thursday 21 June 2007 15:26:54 Ludovic Rousseau wrote: >> You may have less warnings but now more errors :-) > > yes, I was more or less working incrementally with fixing some warnings, > committing, testing etc. my regression tests use a fresh checkout, so I nee

Re: [opensc-devel] opensc provides its own .m4 files?

2007-06-21 Thread Peter Stuge
On Thu, Jun 21, 2007 at 09:34:35PM +0200, Andreas Jellinghaus wrote: > personally I'd like to investigate cmake. I kind of like it too. //Peter ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/li

Re: [opensc-devel] [opensc-commits] svn opensc changed [3183] silence more warnings.

2007-06-21 Thread Andreas Jellinghaus
On Thursday 21 June 2007 15:26:54 Ludovic Rousseau wrote: > You may have less warnings but now more errors :-) yes, I was more or less working incrementally with fixing some warnings, committing, testing etc. my regression tests use a fresh checkout, so I need to commit before testing, which is

Re: [opensc-devel] [opensc-commits] svn opensc changed [3189] silence more warnings by gcc/sparse.

2007-06-21 Thread Andreas Jellinghaus
Ludovic Rousseau wrote: >> --- trunk/src/pkcs11/hack-enabled.c 2007-06-21 13:46:08 UTC (rev >> 3188) >> +++ trunk/src/pkcs11/hack-enabled.c 2007-06-21 13:58:38 UTC (rev >> 3189) @@ -1 +1,2 @@ >> +extern int hack_enabled; >> int hack_enabled = 1; > > What is this patch supposed to do? > >

Re: [opensc-devel] new pre-release opensc 0.11.3-pre1 for testing

2007-06-21 Thread Andreas Jellinghaus
Alessandro Premoli wrote: > Any chance to look at the following enhancement? > > http://www.opensc-project.org/opensc/ticket/130 thanks, applied your patch. can you try to create a regression test for this feature? src/test/regression/ has several scripts, maybe we can extend one to create an ob

Re: [opensc-devel] O2 Micro OZ776 support for openct

2007-06-21 Thread Andreas Jellinghaus
thanks, fixed the info and openct.conf and applied your patch. Regards, Andreas ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] opensc provides its own .m4 files?

2007-06-21 Thread Andreas Jellinghaus
Hi Ludovic, we have copies of those m4 macro packages, so that developers that don't have them can still develop opensc without installing them first. I'm ok with updating them or dropping them in favor of requireing everyone to have them. I have no clue why gettextize is required. I never run

[opensc-devel] opensc provides its own .m4 files?

2007-06-21 Thread Ludovic Rousseau
Hello, I was working on a autoconf/automake problem and discovered that OpenSC provides some .m4 files in aclocal that are also provided by my Debian Etch system. aclocal/lib-link.m4 is provided by gettext: /usr/share/aclocal/lib-link.m4 aclocal/lib-prefix.m4 is provided by gettext: /usr/share/ac

Re: [opensc-devel] [opensc-commits] svn opensc changed [3189] silence more warnings by gcc/sparse.

2007-06-21 Thread Ludovic Rousseau
On 21/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Revision: 3189 > Author: aj > Date: 2007-06-21 13:58:38 + (Thu, 21 Jun 2007) > > Log Message: > --- > silence more warnings by gcc/sparse. > > Modified Paths: > -- > trunk/src/pkcs11/hack-disabled.c >

Re: [opensc-devel] [opensc-commits] svn opensc changed [3183] silence more warnings.

2007-06-21 Thread Ludovic Rousseau
On 21/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Revision: 3183 Author: aj Date: 2007-06-21 12:58:57 + (Thu, 21 Jun 2007) Log Message: --- silence more warnings. You may have less warnings but now more errors :-) For example: pkcs15-crypt.c:40: error: static declara

Re: [opensc-devel] new pre-release opensc 0.11.3-pre1 for testing

2007-06-21 Thread Alessandro Premoli
Andreas Jellinghaus ha scritto: > this change includes the recent improvements to the piv code. > please give it a try. Any chance to look at the following enhancement? http://www.opensc-project.org/opensc/ticket/130 -- Alessandro ___ opensc-devel mail

[opensc-devel] new pre-release opensc 0.11.3-pre1 for testing

2007-06-21 Thread Andreas Jellinghaus
this change includes the recent improvements to the piv code. please give it a try. https://www.opensc-project.org/files/opensc/testing/ https://www.opensc-project.org/files/opensc/testing/opensc-0.11.3-pre1.tar.gz Regards, Andreas ___ opensc-devel mail

[opensc-devel] Fix for pkcs11-spy

2007-06-21 Thread Ph. Marek
Hello everybody, in the PKCS11 standard it is defined that C_GetAttributeValue may return a length of -1 with some non-CKR_OK return codes. The PKCS11 spy checks that: if (rv == CKR_OK || rv == CKR_ATTRIBUTE_SENSITIVE || rv == CKR_ATTRIBUTE_TYPE_INVALID || rv == CKR_BUFFER_TOO