summaryrefslogtreecommitdiff
path: root/security/nss/lib
diff options
context:
space:
mode:
authorjulien.pierre.boogz%sun.com <devnull@localhost>2008-02-13 04:03:19 +0000
committerjulien.pierre.boogz%sun.com <devnull@localhost>2008-02-13 04:03:19 +0000
commitabddb74f668209c8c5b08f6ce31e600d75f3330e (patch)
treefe7c8d7b171cdb7ad6e03703eca14276794fc42a /security/nss/lib
parent5574a07b56db0988b50b1aaa125edde3f6037a38 (diff)
downloadnss-hg-abddb74f668209c8c5b08f6ce31e600d75f3330e.tar.gz
Fix for bug 416928 . Invalid template for CERT_UserNoticeTemplate. Patch contributed by Kaspar Brand. r=julien
Diffstat (limited to 'security/nss/lib')
-rw-r--r--security/nss/lib/certdb/polcyxtn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/nss/lib/certdb/polcyxtn.c b/security/nss/lib/certdb/polcyxtn.c
index 8c2cf2b07..a8aed3e8f 100644
--- a/security/nss/lib/certdb/polcyxtn.c
+++ b/security/nss/lib/certdb/polcyxtn.c
@@ -77,10 +77,11 @@ const SEC_ASN1Template CERT_UserNoticeTemplate[] = {
{ SEC_ASN1_SEQUENCE,
0, NULL, sizeof(CERTUserNotice) },
{ SEC_ASN1_INLINE | SEC_ASN1_OPTIONAL,
+ offsetof(CERTUserNotice, noticeReference),
+ CERT_NoticeReferenceTemplate, 0 },
+ { SEC_ASN1_INLINE | SEC_ASN1_OPTIONAL,
offsetof(CERTUserNotice, displayText),
CERT_DisplayTextTypeTemplate, 0 },
- { SEC_ASN1_OPTIONAL | SEC_ASN1_ANY,
- offsetof(CERTUserNotice, derNoticeReference) },
{ 0 }
};