diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1t.h')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1t.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h index 2d38b0d006..d02fde4ced 100644 --- a/src/lib/libcrypto/asn1/asn1t.h +++ b/src/lib/libcrypto/asn1/asn1t.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1t.h,v 1.20 2022/05/10 05:19:22 jsing Exp $ */ | 1 | /* $OpenBSD: asn1t.h,v 1.21 2022/05/12 19:11:14 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 | */ |
@@ -183,10 +183,6 @@ extern "C" { | |||
183 | static const ASN1_AUX tname##_aux = {NULL, 0, 0, 0, cb, 0}; \ | 183 | static const ASN1_AUX tname##_aux = {NULL, 0, 0, 0, cb, 0}; \ |
184 | ASN1_SEQUENCE(tname) | 184 | ASN1_SEQUENCE(tname) |
185 | 185 | ||
186 | #define ASN1_BROKEN_SEQUENCE(tname) \ | ||
187 | static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_BROKEN, 0, 0, 0, 0}; \ | ||
188 | ASN1_SEQUENCE(tname) | ||
189 | |||
190 | #define ASN1_SEQUENCE_ref(tname, cb, lck) \ | 186 | #define ASN1_SEQUENCE_ref(tname, cb, lck) \ |
191 | static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, cb, 0}; \ | 187 | static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, cb, 0}; \ |
192 | ASN1_SEQUENCE(tname) | 188 | ASN1_SEQUENCE(tname) |
@@ -219,8 +215,6 @@ extern "C" { | |||
219 | #tname \ | 215 | #tname \ |
220 | ASN1_ITEM_end(tname) | 216 | ASN1_ITEM_end(tname) |
221 | 217 | ||
222 | #define ASN1_BROKEN_SEQUENCE_END(stname) ASN1_SEQUENCE_END_ref(stname, stname) | ||
223 | |||
224 | #define ASN1_SEQUENCE_END_enc(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) | 218 | #define ASN1_SEQUENCE_END_enc(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) |
225 | 219 | ||
226 | #define ASN1_SEQUENCE_END_cb(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) | 220 | #define ASN1_SEQUENCE_END_cb(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) |
@@ -745,8 +739,6 @@ typedef struct ASN1_STREAM_ARG_st { | |||
745 | #define ASN1_AFLG_REFCOUNT 1 | 739 | #define ASN1_AFLG_REFCOUNT 1 |
746 | /* Save the encoding of structure (useful for signatures) */ | 740 | /* Save the encoding of structure (useful for signatures) */ |
747 | #define ASN1_AFLG_ENCODING 2 | 741 | #define ASN1_AFLG_ENCODING 2 |
748 | /* The Sequence length is invalid */ | ||
749 | #define ASN1_AFLG_BROKEN 4 | ||
750 | 742 | ||
751 | /* operation values for asn1_cb */ | 743 | /* operation values for asn1_cb */ |
752 | 744 | ||