Hello,

I'm looking at NSS 3.9 and one difference I noticed with previous
version NSS 3.8:

The cert object I get back from PK11_FindCertFromNickname() is a
struct of type CERTCertificate. When I get the cert subject name using
cert->subjectName, I noticed that, with NSS 3.9, the DN string does
NOT have spaces between the DN sub-components (eg,
"CN=joetester,OU=Testing,O=testCorp,C=US").

The DN returned in NSS3.8 did however have spaces (eg, "CN=joetester,
OU=Testing, O=testCorp, C=US").

This is casuing me a little bit of a headache with my NSS app when
trying to identify a certificate by comparing the cert subject name
with a fixed know string...

Has there been a know change with spacing in the cert strings returned
by functions like PK11_FindCertFromNickname()? (I have a feeling that
the CERTCertificate struct is private and I should not rely on strings
like cert->subjectName...)

-- POC
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to