summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_new.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-10-03 12:38:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-10-03 12:38:52 +0000
commit230fd6b7b66f0b72b1cf7fc300652a1adf94ba1a (patch)
tree0b44fcc6a6e1bd9cb4de4fb5d5a9939b3768b4c5 /crypto/asn1/tasn_new.c
parent20b33a015f1ea8b0927aa5057d2e6abe053b902f (diff)
Preliminary streaming ASN1 encode support.
Diffstat (limited to 'crypto/asn1/tasn_new.c')
-rw-r--r--crypto/asn1/tasn_new.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/tasn_new.c b/crypto/asn1/tasn_new.c
index e33861f864..11a90f739e 100644
--- a/crypto/asn1/tasn_new.c
+++ b/crypto/asn1/tasn_new.c
@@ -155,6 +155,7 @@ static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int
goto auxerr;
break;
+ case ASN1_ITYPE_NDEF_SEQUENCE:
case ASN1_ITYPE_SEQUENCE:
if(asn1_cb) {
i = asn1_cb(ASN1_OP_NEW_PRE, pval, it);
@@ -231,6 +232,7 @@ static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
case ASN1_ITYPE_COMPAT:
case ASN1_ITYPE_CHOICE:
case ASN1_ITYPE_SEQUENCE:
+ case ASN1_ITYPE_NDEF_SEQUENCE:
*pval = NULL;
break;
}