diff options
author | chrisk%netscape.com <devnull@localhost> | 2000-06-14 23:12:48 +0000 |
---|---|---|
committer | chrisk%netscape.com <devnull@localhost> | 2000-06-14 23:12:48 +0000 |
commit | 02573f2e4308f03769897461ef030f3017218a1d (patch) | |
tree | 46b05d949b2a8ec3d8447d6fd345db1106e36de0 | |
parent | a083d0fa5de4b734ee34a8ee7d857f4911648f8b (diff) | |
download | nss-hg-02573f2e4308f03769897461ef030f3017218a1d.tar.gz |
Make example 5.7 of ietf-smime-examples draft decode correctly
(we still cannot look up certs by SubjectKeyID, so it won't verify)
-rw-r--r-- | security/nss/lib/smime/cmsasn1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/smime/cmsasn1.c b/security/nss/lib/smime/cmsasn1.c index 1c8695d8c..afd82d407 100644 --- a/security/nss/lib/smime/cmsasn1.c +++ b/security/nss/lib/smime/cmsasn1.c @@ -149,9 +149,9 @@ static const SEC_ASN1Template NSSCMSSignerIdentifierTemplate[] = { { SEC_ASN1_CHOICE, offsetof(NSSCMSSignerIdentifier,identifierType), NULL, sizeof(NSSCMSSignerIdentifier) }, - { SEC_ASN1_EXPLICIT | SEC_ASN1_CONSTRUCTED | SEC_ASN1_CONTEXT_SPECIFIC | 0, + { SEC_ASN1_POINTER | SEC_ASN1_CONTEXT_SPECIFIC | 0, offsetof(NSSCMSSignerIdentifier,id.subjectKeyID), - SEC_PointerToOctetStringTemplate, + SEC_OctetStringTemplate, NSSCMSRecipientID_SubjectKeyID }, { SEC_ASN1_POINTER, offsetof(NSSCMSSignerIdentifier,id.issuerAndSN), |