summaryrefslogtreecommitdiff
path: root/security/nss/lib/crmf/asn1cmn.c
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2001-11-21 18:00:28 +0000
committerrelyea%netscape.com <devnull@localhost>2001-11-21 18:00:28 +0000
commit21a2261d16303cf05e836cdb08f49ff7ffcf879d (patch)
tree305b9e2d2bd89eb534056d3bfb8a8bb6c31c3863 /security/nss/lib/crmf/asn1cmn.c
parent96f95233e8eda05a8f8876e9b1dbfb8042666e54 (diff)
downloadnss-hg-21a2261d16303cf05e836cdb08f49ff7ffcf879d.tar.gz
changes for PSM to compile against NSS shared libraries.
Move SSL and S/MIME to the new common MAPFILE usage
Diffstat (limited to 'security/nss/lib/crmf/asn1cmn.c')
-rw-r--r--security/nss/lib/crmf/asn1cmn.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/nss/lib/crmf/asn1cmn.c b/security/nss/lib/crmf/asn1cmn.c
index 0cb0c3c41..de7152e1c 100644
--- a/security/nss/lib/crmf/asn1cmn.c
+++ b/security/nss/lib/crmf/asn1cmn.c
@@ -37,6 +37,7 @@
SEC_ASN1_MKSUB(SECOID_AlgorithmIDTemplate)
SEC_ASN1_MKSUB(SEC_AnyTemplate)
SEC_ASN1_MKSUB(SEC_IntegerTemplate)
+SEC_ASN1_MKSUB(SEC_SignedCertificateTemplate)
static const SEC_ASN1Template CMMFCertResponseTemplate[] = {
{ SEC_ASN1_SEQUENCE, 0, NULL, sizeof(CMMFCertResponse)},
@@ -80,7 +81,8 @@ const SEC_ASN1Template CMMFPKIStatusInfoTemplate[] = {
};
const SEC_ASN1Template CMMFSequenceOfCertsTemplate[] = {
- { SEC_ASN1_SEQUENCE_OF, 0, SEC_SignedCertificateTemplate}
+ { SEC_ASN1_SEQUENCE_OF| SEC_ASN1_XTRN, 0,
+ SEC_ASN1_SUB(SEC_SignedCertificateTemplate)}
};
const SEC_ASN1Template CMMFRandTemplate[] = {
@@ -106,9 +108,9 @@ const SEC_ASN1Template CMMFCertOrEncCertEncryptedCertTemplate[] = {
};
const SEC_ASN1Template CMMFCertOrEncCertCertificateTemplate[] = {
- { SEC_ASN1_CONTEXT_SPECIFIC | 0,
+ { SEC_ASN1_CONTEXT_SPECIFIC | SEC_ASN1_XTRN | 0,
0,
- SEC_SignedCertificateTemplate},
+ SEC_ASN1_SUB(SEC_SignedCertificateTemplate)},
{ 0 }
};