Re: [opensc-devel] Opensc in 64bits platform

2009-02-25 Thread Wan-Teh Chang
On Wed, Feb 25, 2009 at 2:10 AM, Ludovic Rousseau wrote: > 2009/2/25 Marc Rios Valles : >> The type is defined here: >> >> src/pkcs11/pkcs11.h >> 378:#define CKA_CERTIFICATE_TYPE                (0x80) > > Not CKA_CERTIFICATE_TYPE but CK_CERTIFICATE_TYPE > > Try again :-) This confusion is why we

Re: [opensc-devel] Opensc in 64bits platform

2009-02-25 Thread Ludovic Rousseau
2009/2/25 Marc Rios Valles : > The type is defined here: > > src/pkcs11/pkcs11.h > 378:#define CKA_CERTIFICATE_TYPE                (0x80) Not CKA_CERTIFICATE_TYPE but CK_CERTIFICATE_TYPE Try again :-) -- Dr. Ludovic Rousseau ___ opensc-devel mailing

Re: [opensc-devel] Opensc in 64bits platform

2009-02-25 Thread Marc Rios Valles
The type is defined here: src/pkcs11/pkcs11.h 378:#define CKA_CERTIFICATE_TYPE(0x80) On Wed, 2009-02-25 at 10:13 +0100, Ludovic Rousseau wrote: > 2009/2/25 Wan-Teh Chang : > > On Tue, Feb 24, 2009 at 7:55 AM, Marc Rios Valles wrote: > >> > >> --- src/pkcs11/misc.c.orig 200

Re: [opensc-devel] Opensc in 64bits platform

2009-02-25 Thread Ludovic Rousseau
2009/2/25 Wan-Teh Chang : > On Tue, Feb 24, 2009 at 7:55 AM, Marc Rios Valles wrote: >> >> --- src/pkcs11/misc.c.orig      2008-01-17 12:22:03.0 +0100 >> +++ src/pkcs11/misc.c   2008-01-17 12:22:18.0 +0100 >> @@ -233,7 +233,7 @@ >>                case CKA_PRIVATE: >>              

Re: [opensc-devel] Opensc in 64bits platform

2009-02-24 Thread Wan-Teh Chang
On Tue, Feb 24, 2009 at 7:55 AM, Marc Rios Valles wrote: > > --- src/pkcs11/misc.c.orig      2008-01-17 12:22:03.0 +0100 > +++ src/pkcs11/misc.c   2008-01-17 12:22:18.0 +0100 > @@ -233,7 +233,7 @@ >                case CKA_PRIVATE: >                        size = sizeof(CK_BBOOL);

Re: [opensc-devel] Opensc in 64bits platform

2009-02-24 Thread Ludovic Rousseau
2009/2/24 Marc Rios Valles : > Hi to everybody, > > These days I have been working around to import a cert form firefox in a > 64bits platform distribution. > > I am doing this tests with a CERES FNMT ST-WG10 but I think It can be > reproduced with any card. The fact is that the keys are correctly

[opensc-devel] Opensc in 64bits platform

2009-02-24 Thread Marc Rios Valles
Hi to everybody, These days I have been working around to import a cert form firefox in a 64bits platform distribution. I am doing this tests with a CERES FNMT ST-WG10 but I think It can be reproduced with any card. The fact is that the keys are correctly imported but the cert is never imported