Re: [opensc-devel] Compile problems with card-rutoken.c pkcs15-prkey-rutoken.c

2008-02-25 Thread Ludovic Rousseau
On Tue, Feb 26, 2008 at 8:12 AM, Peter Stuge <[EMAIL PROTECTED]> wrote: > On Tue, Feb 26, 2008 at 07:18:47AM +0100, Andreas Jellinghaus wrote: > > Am Montag, 25. Februar 2008 23:49:37 schrieb Douglas E. Engert: > > > pkcs15-prkey-rutoken.c also has problems with u_int32_t, > > > unsigned int mig

Re: [opensc-devel] Compile problems with card-rutoken.c pkcs15-prkey-rutoken.c

2008-02-25 Thread Peter Stuge
On Tue, Feb 26, 2008 at 07:18:47AM +0100, Andreas Jellinghaus wrote: > Am Montag, 25. Februar 2008 23:49:37 schrieb Douglas E. Engert: > > pkcs15-prkey-rutoken.c also has problems with u_int32_t, > > unsigned int might be a beter choice. > > unsigned int is a 64 bit number on 64bit architectures?

Re: [opensc-devel] Compile problems with card-rutoken.c pkcs15-prkey-rutoken.c

2008-02-25 Thread Thomas Harning Jr
Andreas Jellinghaus wrote: > unsigned int is a 64 bit number on 64bit architectures? > unsigned int is 32-bits on 64-bit archs (at least x86_64 as compiled w/ GCC and VC++ [in fact w/ VC++ is LLP meaning to get a 64-bit number, you need to use "long long"..]) unsigned long is 64-bit in GCC.. __

Re: [opensc-devel] Compile problems with card-rutoken.c pkcs15-prkey-rutoken.c

2008-02-25 Thread Alon Bar-Lev
There were a lot of issues with rutoken... I've fixed at least some issues in mingw32 branch. Alon. On 2/26/08, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: > Am Montag, 25. Februar 2008 23:49:37 schrieb Douglas E. Engert: > > > pkcs15-prkey-rutoken.c also has problems with u_int32_t, > > unsi

Re: [opensc-devel] Compile problems with card-rutoken.c pkcs15-prkey-rutoken.c

2008-02-25 Thread Andreas Jellinghaus
Am Montag, 25. Februar 2008 23:49:37 schrieb Douglas E. Engert: > pkcs15-prkey-rutoken.c also has problems with u_int32_t, > unsigned int might be a beter choice. unsigned int is a 64 bit number on 64bit architectures? I like the changes you propose. any casting from u8* to something of a differ

[opensc-devel] Compile problems with card-rutoken.c pkcs15-prkey-rutoken.c

2008-02-25 Thread Douglas E. Engert
SVN revision 3391 card-rutoken.c does not compile on Solaris 10. It uses u_int16_t which is not defined in Solaris. (unit16_t and int16_t are defined). But there should be no need to use any of these, as the code is trying to take 2 u8 variables and convert to size_t. See below for a suggestion

Re: [opensc-devel] pam_pkcs11 broken

2008-02-25 Thread Andreas Jellinghaus
Am Montag, 25. Februar 2008 11:28:21 schrieb Ludovic Rousseau: > I added the missing files (I guess) > > I can now do: > $ svn co trunk > $ cd trunk > $ ./bootstrap > $ ./configure > $ make distcheck ok, thanks a lot! will see if tonight snapshot cron job now works. good night, Andreas _

Re: [opensc-devel] [TEST REQUEST] OpenSC New Build System

2008-02-25 Thread Alon Bar-Lev
On 2/25/08, Douglas E. Engert <[EMAIL PROTECTED]> wrote: > No that is not left over, but maybe it should have been ifdefed. > The PIV is for the new card the U.S. government is issuing to most > government employees and contractors. The leftover is the #include directives. Alon.

Re: [opensc-devel] [TEST REQUEST] OpenSC New Build System

2008-02-25 Thread Douglas E. Engert
Alon Bar-Lev wrote: > Hello, > > Thank you for testing! > > The pkcs15-piv.c should not have included openssl... I guess this is > leftover from some other work. No that is not left over, but maybe it should have been ifdefed. The PIV is for the new card the U.S. government is issuing to most

Re: [opensc-devel] [TEST REQUEST] OpenSC New Build System

2008-02-25 Thread Alon Bar-Lev
1.libtool How did you build libtool? Have you added LTLIB_CFLAGS="-I<>" LTLIB_LIBS="-L<> -lltdl" to configure? 2. mingw runtime should have gettimeofday... Please tell me if it does not work after your update. Thanks! On 2/25/08, Jan Just Keijser <[EMAIL PROTECTED]> wrote: > Hi Alon, > > I alr

Re: [opensc-devel] [TEST REQUEST] OpenSC New Build System

2008-02-25 Thread Jan Just Keijser
Hi Alon, I already did and continued; turns out that my LIBTOOL setup was/is still not OK (lots of missing -lltdl lines in the makefiles). After correcting that one the build continued until pkcs11-global.c, where it ran into problems with the gettimeofday function that MingW does not seem to

Re: [opensc-devel] [TEST REQUEST] OpenSC New Build System

2008-02-25 Thread Alon Bar-Lev
Hello, Thank you for testing! The pkcs15-piv.c should not have included openssl... I guess this is leftover from some other work. Can you please try to remove these includes and continue building? Alon. On 2/25/08, Jan Just Keijser <[EMAIL PROTECTED]> wrote: > Hi Alon, > > finally had some tim

Re: [opensc-devel] [TEST REQUEST] OpenSC New Build System

2008-02-25 Thread Jan Just Keijser
Hi Alon, finally had some time to test your new build system on my Windows XP box with both Cygwin and MingW installed. ./configure + make ran fine on cygwin; the resulting pkcs11-tool (which is all I really use) was working fine ./configure ran on MingW after I added libtool to my MingW instal

Re: [opensc-devel] pam_pkcs11 broken

2008-02-25 Thread Ludovic Rousseau
On Sat, Feb 23, 2008 at 1:39 PM, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: > Am Freitag, 22. Februar 2008 15:36:05 schrieb Ludovic Rousseau: > > > I have no real objection to add po/Makefile.in.in anc config.rpath > > (and others) in SVN. They both are installed by running gettextize. > > Th