summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2012-02-28 00:14:18 +0000
committerwtc%google.com <devnull@localhost>2012-02-28 00:14:18 +0000
commit0a52a28f077ff472ca6510e59e96660b0b6333e1 (patch)
treec4fe896e73a2f0c3625a88818108bcdd2a5ca55c
parent2a26ee0a37ddf349901345bb76a601cb623ab889 (diff)
downloadnss-hg-0a52a28f077ff472ca6510e59e96660b0b6333e1.tar.gz
Bug 726134: document that the cert_NSSCertFromPKIXCert function in
lib/certhigh/certvfypkix.c depends on nssCert being the first field of struct PKIX_PL_CertStruct. r=rrelyea.
-rw-r--r--security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h b/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h
index a5b8861cc..31b3f5513 100644
--- a/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h
+++ b/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h
@@ -51,7 +51,10 @@ extern "C" {
#endif
struct PKIX_PL_CertStruct {
- CERTCertificate *nssCert;
+ CERTCertificate *nssCert; /* Must be the first field. The
+ * cert_NSSCertFromPKIXCert function in
+ * lib/certhigh/certvfypkix.c depends on
+ * this. */
CERTGeneralName *nssSubjAltNames;
PLArenaPool *arenaNameConstraints;
PKIX_PL_X500Name *issuer;