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.

X509_cmp expects, that referred structure has type X509 (X509_st).
But common/cert_st.h contains:
#define X509 CERTCertificate

So we pass CERTCertificate (CERTCertificateStr defined in nss3/certt.h)
structure instead of X509.

As these structures are completely different, it most probably does not
work.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: [EMAIL PROTECTED]
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to