diff options
author | Rich Salz <rsalz@akamai.com> | 2019-02-21 13:23:06 -0500 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-03-19 12:01:24 +0100 |
commit | 6098b69e5817068c49e63487d3424b4122a1796d (patch) | |
tree | 017a492973158572688b6ccfbaae9fece169c2cc /include | |
parent | 770dfe8dfae33e814198ad6e190d22981066a583 (diff) |
Move ASN1_BROKEN macros
They're only used in one place, and only for a legacy datatype.
Reviewed-by: Paul Yang <yang.yang@baishancloud.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8302)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/asn1t.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/openssl/asn1t.h b/include/openssl/asn1t.h index 1a836c9db2..8158c41fcf 100644 --- a/include/openssl/asn1t.h +++ b/include/openssl/asn1t.h @@ -165,10 +165,6 @@ extern "C" { {NULL, ASN1_AFLG_CONST_CB, 0, 0, cb, 0, const_cb}; \ ASN1_SEQUENCE(tname) -# define ASN1_BROKEN_SEQUENCE(tname) \ - static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_BROKEN, 0, 0, NULL, 0, NULL}; \ - ASN1_SEQUENCE(tname) - # define ASN1_SEQUENCE_ref(tname, cb) \ static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), offsetof(tname, lock), cb, 0, NULL}; \ ASN1_SEQUENCE(tname) @@ -200,9 +196,6 @@ extern "C" { #tname \ ASN1_ITEM_end(tname) -# define ASN1_BROKEN_SEQUENCE_END(stname) ASN1_SEQUENCE_END_ref(stname, stname) -# define static_ASN1_BROKEN_SEQUENCE_END(stname) \ - static_ASN1_SEQUENCE_END_ref(stname, stname) # define ASN1_SEQUENCE_END_enc(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) |