summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_typ.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_typ.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_typ.c42
1 files changed, 35 insertions, 7 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_typ.c b/src/lib/libcrypto/asn1/tasn_typ.c
index 5e838e2cf0..542713aa09 100644
--- a/src/lib/libcrypto/asn1/tasn_typ.c
+++ b/src/lib/libcrypto/asn1/tasn_typ.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_typ.c,v 1.12 2015/07/24 13:49:58 jsing Exp $ */ 1/* $OpenBSD: tasn_typ.c,v 1.13 2015/07/24 15:09:52 jsing Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -735,13 +735,41 @@ const ASN1_ITEM ASN1_OCTET_STRING_NDEF_it = {
735 .sname = "ASN1_OCTET_STRING_NDEF", 735 .sname = "ASN1_OCTET_STRING_NDEF",
736}; 736};
737 737
738ASN1_ITEM_TEMPLATE(ASN1_SEQUENCE_ANY) = 738static const ASN1_TEMPLATE ASN1_SEQUENCE_ANY_item_tt = {
739 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, ASN1_SEQUENCE_ANY, ASN1_ANY) 739 .flags = ASN1_TFLG_SEQUENCE_OF,
740ASN1_ITEM_TEMPLATE_END(ASN1_SEQUENCE_ANY) 740 .tag = 0,
741 .offset = 0,
742 .field_name = "ASN1_SEQUENCE_ANY",
743 .item = &ASN1_ANY_it,
744};
745
746const ASN1_ITEM ASN1_SEQUENCE_ANY_it = {
747 .itype = ASN1_ITYPE_PRIMITIVE,
748 .utype = -1,
749 .templates = &ASN1_SEQUENCE_ANY_item_tt,
750 .tcount = 0,
751 .funcs = NULL,
752 .size = 0,
753 .sname = "ASN1_SEQUENCE_ANY",
754};
741 755
742ASN1_ITEM_TEMPLATE(ASN1_SET_ANY) = 756static const ASN1_TEMPLATE ASN1_SET_ANY_item_tt = {
743 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SET_OF, 0, ASN1_SET_ANY, ASN1_ANY) 757 .flags = ASN1_TFLG_SET_OF,
744ASN1_ITEM_TEMPLATE_END(ASN1_SET_ANY) 758 .tag = 0,
759 .offset = 0,
760 .field_name = "ASN1_SET_ANY",
761 .item = &ASN1_ANY_it,
762};
763
764const ASN1_ITEM ASN1_SET_ANY_it = {
765 .itype = ASN1_ITYPE_PRIMITIVE,
766 .utype = -1,
767 .templates = &ASN1_SET_ANY_item_tt,
768 .tcount = 0,
769 .funcs = NULL,
770 .size = 0,
771 .sname = "ASN1_SET_ANY",
772};
745 773
746 774
747ASN1_SEQUENCE_ANY * 775ASN1_SEQUENCE_ANY *