Robert Relyea wrote:

>When identical certs are imported into NSS, they are given the same 
> reference counted pointer, so the test is as easy as:
>        cert1 == cert2

Thanks, and what about d2i_X509() counterpart:

> > undefined symbol: d2i_X509      (.libs/ldap_mapper.so)
> >
> > So the library can't be used.
> >
> > d2i_X509 is an OpenSSL function so I am not surprised it is not found
> > when linked with NSS.

Could it be implemented using CERT_DecodeDERCertificate()?

extern CERTCertificate *
CERT_DecodeDERCertificate (SECItem *derSignedCert, PRBool copyDER, char 
*nickname);

-- 
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