Fix NSS parsing of Issuer Unique ID and Subject Unique ID fields in
certificate. Bug 216116. r=jpierre git-svn-id: svn://10.0.0.236/trunk@151404 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
/*
|
||||
* Certificate handling code
|
||||
*
|
||||
* $Id: certdb.c,v 1.59 2004-01-07 23:07:22 jpierre%netscape.com Exp $
|
||||
* $Id: certdb.c,v 1.60 2004-01-16 02:11:44 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nssilock.h"
|
||||
@@ -118,12 +118,12 @@ const SEC_ASN1Template CERT_CertificateTemplate[] = {
|
||||
{ SEC_ASN1_INLINE,
|
||||
offsetof(CERTCertificate,subjectPublicKeyInfo),
|
||||
CERT_SubjectPublicKeyInfoTemplate },
|
||||
{ SEC_ASN1_OPTIONAL | SEC_ASN1_CONSTRUCTED | SEC_ASN1_CONTEXT_SPECIFIC | 1,
|
||||
{ SEC_ASN1_OPTIONAL | SEC_ASN1_CONTEXT_SPECIFIC | 1,
|
||||
offsetof(CERTCertificate,issuerID),
|
||||
SEC_ObjectIDTemplate },
|
||||
{ SEC_ASN1_OPTIONAL | SEC_ASN1_CONSTRUCTED | SEC_ASN1_CONTEXT_SPECIFIC | 2,
|
||||
SEC_BitStringTemplate },
|
||||
{ SEC_ASN1_OPTIONAL | SEC_ASN1_CONTEXT_SPECIFIC | 2,
|
||||
offsetof(CERTCertificate,subjectID),
|
||||
SEC_ObjectIDTemplate },
|
||||
SEC_BitStringTemplate },
|
||||
{ SEC_ASN1_EXPLICIT | SEC_ASN1_OPTIONAL | SEC_ASN1_CONSTRUCTED |
|
||||
SEC_ASN1_CONTEXT_SPECIFIC | 3,
|
||||
offsetof(CERTCertificate,extensions),
|
||||
|
||||
Reference in New Issue
Block a user