Re: [opensc-devel] pam_pkcs11: more implicit and conflicting declaration fixes

2008-10-16 Thread Stanislav Brabec
Ludovic Rousseau wrote: > But I have two warnings: > ldap_mapper.c:874: warning: passing argument 1 of 'X509_cmp' from > incompatible pointer type > ldap_mapper.c:874: warning: passing argument 2 of 'X509_cmp' from > incompatible pointer type I spent a quite a lot of time to identify this problem.

Re: [opensc-devel] Access OpenSC API

2008-10-16 Thread Andreas Jellinghaus
there should be an opensc.lib file somewhere. (at least we had that with the old SCB package, not sure if the new packages have it too.) but like alon, there is an even better suggestion: use the pkcs#11 interface. PKCS#11 API is a bit difficult at first, but you could use some library on top tha

Re: [opensc-devel] Access OpenSC API

2008-10-16 Thread Alon Bar-Lev
Why don't you use PKCS#11 interface? On 10/16/08, Manuel Preliteiro <[EMAIL PROTECTED]> wrote: > Hello > > I'm trying to make a simple context aware program. I installed (under > Windows) OpenSC with success. Now I want to access the API (throw C), I > moved all the "include\opensc" directory to m

[opensc-devel] Access OpenSC API

2008-10-16 Thread Manuel Preliteiro
Hello I'm trying to make a simple context aware program. I installed (under Windows) OpenSC with success. Now I want to access the API (throw C), I moved all the "include\opensc" directory to my libraries location but since only the header file is present I cant compile anything (undifined referen

Re: [opensc-devel] pam_pkcs11: more implicit and conflicting declaration fixes

2008-10-16 Thread Ludovic Rousseau
2008/10/15 Stanislav Brabec <[EMAIL PROTECTED]>: > Attached two patches fix compilation errors or warnings when compiling > with NSS support. > > Compiler messages are mentioned in patch headers. Corrected in revision 347 and 348. Thanks > Note that implicit declaration fix again refers to implic