On 03/03/2017 02:48 PM, Robert Relyea wrote:
On 03/03/2017 09:42 AM, Paul Wouters wrote:
On Fri, 3 Mar 2017, Robert Relyea wrote:

 [offlist]

redirected back to the list, since the item I was concerned about is not
a concern.

 Thanks for the info. I looked at it and have two questions and one
 concern (which is why this is offlist)
I'm not sure what list this was from. I don't remember seeing the thread.

dev-tech-crypto@lists.mozilla.org

 - Why not export this NSS function for everyone?

Which function?

Sorry, I was referring to:

cert_VerifySubjectAltName(const CERTCertificate *cert, const char *name);

Certainly as named, we would export it, but we could wrap the function as CERT_VerifySubjectAltName() and export that function.

Arg... typing to fast drops negations. this should read

"Certainly as names we would NOT export it, but we could wrap the function as CERT_VerifySubjectAltName() and export that function()."

Lower case function names is an indicator the the function is local, at least to the NSS directory, if not to the .c file itself. Anything exported even within the NSS shared library (yet alone to the application) sould have an all cap prefix.

bob

--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to