Kenneth R. Robinette wrote:
> Wan-Teh
> 
> After reading your note and thinking about it, I went back and compiled our
> application using only dll linkage.  All went well except for one function,
> CERT_DecodeDERCertificate().  This is a rather common function required by
> many things, including the utilities supplied with NSS.  Is there a
> replacement function I should be using that I have overlooked?  I am using
> the latest mozilla distribution.  I did see where I should be using
> PK11_ImportCertForKeyToSlot instead of  PK11_ImportCert() as I mentioned in
> my last note.
> 
> Ken
> 


All of the functions you've mentioned are in fact exported.  But they 
are functions we would like to not export, only we must out of necessity 
(that is, we haven't provided suitable replacements yet).

If you look here, you will see them:
http://lxr.mozilla.org/mozilla/source/security/nss/lib/nss/nss.def#180
http://lxr.mozilla.org/mozilla/source/security/nss/lib/nss/nss.def#272
http://lxr.mozilla.org/mozilla/source/security/nss/lib/nss/nss.def#571


They have be renamed with a prepended "__" to indicate something like, 
"this function is exported now but may not be in the future."

-Ian


Reply via email to