summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_fre.c
diff options
context:
space:
mode:
authormiod <>2015-02-14 15:23:57 +0000
committermiod <>2015-02-14 15:23:57 +0000
commit50dcf723158de492f1440c6a34fdf06bdc1f16fe (patch)
tree094ce60cf2e7b1b8f53728f3c1052390bfef6120 /src/lib/libcrypto/asn1/tasn_fre.c
parent3831ec92614f93b5873fbec25f33aba2e8b7c2b5 (diff)
downloadopenbsd-50dcf723158de492f1440c6a34fdf06bdc1f16fe.tar.gz
openbsd-50dcf723158de492f1440c6a34fdf06bdc1f16fe.tar.bz2
openbsd-50dcf723158de492f1440c6a34fdf06bdc1f16fe.zip
Remove IMPLEMENT_COMPAT_ASN1() and related support code. Nothing uses it in
libcrypto/libssl, and nothing seems to use it in the wild, apart from embedded copies of OpenSSL. ok jsing@
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_fre.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_fre.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c
index 36b668a7f9..30d68786b1 100644
--- a/src/lib/libcrypto/asn1/tasn_fre.c
+++ b/src/lib/libcrypto/asn1/tasn_fre.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_fre.c,v 1.13 2015/02/14 13:32:46 jsing Exp $ */ 1/* $OpenBSD: tasn_fre.c,v 1.14 2015/02/14 15:23:57 miod 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 */
@@ -84,7 +84,6 @@ asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine)
84{ 84{
85 const ASN1_TEMPLATE *tt = NULL, *seqtt; 85 const ASN1_TEMPLATE *tt = NULL, *seqtt;
86 const ASN1_EXTERN_FUNCS *ef; 86 const ASN1_EXTERN_FUNCS *ef;
87 const ASN1_COMPAT_FUNCS *cf;
88 const ASN1_AUX *aux = it->funcs; 87 const ASN1_AUX *aux = it->funcs;
89 ASN1_aux_cb *asn1_cb = NULL; 88 ASN1_aux_cb *asn1_cb = NULL;
90 int i; 89 int i;
@@ -128,12 +127,6 @@ asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine)
128 } 127 }
129 break; 128 break;
130 129
131 case ASN1_ITYPE_COMPAT:
132 cf = it->funcs;
133 if (cf && cf->asn1_free)
134 cf->asn1_free(*pval);
135 break;
136
137 case ASN1_ITYPE_EXTERN: 130 case ASN1_ITYPE_EXTERN:
138 ef = it->funcs; 131 ef = it->funcs;
139 if (ef && ef->asn1_ex_free) 132 if (ef && ef->asn1_ex_free)