curl-library
Re: NSS support quirks
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 13 Jun 2008 22:57:32 +0200 (CEST)
Date: Fri, 13 Jun 2008 22:57:32 +0200 (CEST)
On Fri, 13 Jun 2008, Axel Tillequin wrote:
> #include "certdb.h" /* for SEC_DestroyCrl */
> #include "nss/base64.h" /* for ATOB_ConvertAsciiToItem */
Both these should be using <> and not "" since the headers won't be in the
same dir as the .c file, right?
> the nss/ prefix is needed because curl already has a base64.h file that
> will be chosen instead of the nss one otherwise...
Even if you use <base64.h> instead of "base64.h" ?
> in nss.c, replace
> else if (CERT_CompareCerts(cert_issuer,issuer)==PR_FALSE)
> by
> else if (SECITEM_CompareItem(&cert_issuer->derCert,
> &issuer->derCert)!=SECEqual)
Can someone please verify that this works first?
-- / daniel.haxx.seReceived on 2008-06-13