summaryrefslogtreecommitdiff
path: root/security/nss/lib/certdb
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2004-01-16 05:36:08 +0000
committernelsonb%netscape.com <devnull@localhost>2004-01-16 05:36:08 +0000
commit83aa25574f9a0c272f22baaef4b99a741dea2c37 (patch)
tree03732d91f813973b809f4ead0b6f9e2bad1c01a0 /security/nss/lib/certdb
parent747d530ad477dc6538f6c0f09e894b66e6ddb984 (diff)
downloadnss-hg-83aa25574f9a0c272f22baaef4b99a741dea2c37.tar.gz
Fix template for Cert policy extensions. Bug 230951, r=jpierre
Diffstat (limited to 'security/nss/lib/certdb')
-rw-r--r--security/nss/lib/certdb/polcyxtn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/certdb/polcyxtn.c b/security/nss/lib/certdb/polcyxtn.c
index 41302f039..507505256 100644
--- a/security/nss/lib/certdb/polcyxtn.c
+++ b/security/nss/lib/certdb/polcyxtn.c
@@ -84,7 +84,7 @@ const SEC_ASN1Template CERT_PolicyInfoTemplate[] = {
0, NULL, sizeof(CERTPolicyInfo) },
{ SEC_ASN1_OBJECT_ID,
offsetof(CERTPolicyInfo, policyID) },
- { SEC_ASN1_SEQUENCE_OF,
+ { SEC_ASN1_SEQUENCE_OF | SEC_ASN1_OPTIONAL,
offsetof(CERTPolicyInfo, policyQualifiers),
CERT_PolicyQualifierTemplate },
{ 0 }