diff options
author | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-02-13 04:03:19 +0000 |
---|---|---|
committer | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-02-13 04:03:19 +0000 |
commit | abddb74f668209c8c5b08f6ce31e600d75f3330e (patch) | |
tree | fe7c8d7b171cdb7ad6e03703eca14276794fc42a /security/nss/lib | |
parent | 5574a07b56db0988b50b1aaa125edde3f6037a38 (diff) | |
download | nss-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.c | 5 |
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 } }; |