File tree Expand file tree Collapse file tree 4 files changed +0
-39
lines changed Expand file tree Collapse file tree 4 files changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -163,29 +163,6 @@ extern "C" {
163
163
# define OPENSSL_EXTERN extern
164
164
# endif
165
165
166
- /*-
167
- * Macros to allow global variables to be reached through function calls when
168
- * required (if a shared library version requires it, for example.
169
- * The way it's done allows definitions like this:
170
- *
171
- * // in foobar.c
172
- * OPENSSL_IMPLEMENT_GLOBAL(int,foobar,0)
173
- * // in foobar.h
174
- * OPENSSL_DECLARE_GLOBAL(int,foobar);
175
- * #define foobar OPENSSL_GLOBAL_REF(foobar)
176
- */
177
- # ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION
178
- # define OPENSSL_IMPLEMENT_GLOBAL (type ,name ,value ) \
179
- type *_shadow_##name(void) \
180
- { static type _hide_##name=value; return &_hide_##name; }
181
- # define OPENSSL_DECLARE_GLOBAL (type ,name ) type *_shadow_##name(void)
182
- # define OPENSSL_GLOBAL_REF (name ) (*(_shadow_##name()))
183
- # else
184
- # define OPENSSL_IMPLEMENT_GLOBAL (type ,name ,value ) type _shadow_##name=value;
185
- # define OPENSSL_DECLARE_GLOBAL (type ,name ) OPENSSL_EXPORT type _shadow_##name
186
- # define OPENSSL_GLOBAL_REF (name ) _shadow_##name
187
- # endif
188
-
189
166
# ifdef _WIN32
190
167
# ifdef _WIN64
191
168
# define ossl_ssize_t __int64
Original file line number Diff line number Diff line change @@ -2052,8 +2052,6 @@ ENGINE_unregister_RSA 2033 3_0_0 EXIST::FUNCTION:ENGINE
2052
2052
EC_GROUP_order_bits 2034 3_0_0 EXIST::FUNCTION:EC
2053
2053
d2i_CMS_bio 2035 3_0_0 EXIST::FUNCTION:CMS
2054
2054
OPENSSL_sk_num 2036 3_0_0 EXIST::FUNCTION:
2055
- _shadow_DES_check_key 2037 3_0_0 NOEXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:DES
2056
- _shadow_DES_check_key 2037 3_0_0 NOEXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:DES
2057
2055
CMS_RecipientInfo_set0_pkey 2038 3_0_0 EXIST::FUNCTION:CMS
2058
2056
X509_STORE_CTX_set_default 2039 3_0_0 EXIST::FUNCTION:
2059
2057
AES_wrap_key 2040 3_0_0 EXIST::FUNCTION:
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ CRYPTO_get_dynlock_destroy_callback
63
63
OpenSSLDie
64
64
OPENSSL_assert
65
65
DSA_is_prime
66
- OPENSSL_GLOBAL_REF
67
66
ECParameters_dup
68
67
ENGINE_load_openssl
69
68
ENGINE_load_dynamic
Original file line number Diff line number Diff line change @@ -255,19 +255,6 @@ my @opensslchandlers = (
255
255
# to this parser. All of these do replacements, anything else is
256
256
# an error.
257
257
258
- # ####
259
- # Global variable stuff
260
- { regexp => qr / OPENSSL_DECLARE_GLOBAL<<<\( (.*),\s *(.*)\) >>>;/ ,
261
- massager => sub { return (<<"EOF" );
262
- #ifndef OPENSSL_EXPORT_VAR_AS_FUNCTION
263
- OPENSSL_EXPORT $1 _shadow_$2 ;
264
- #else
265
- $1 *_shadow_$2 (void);
266
- #endif
267
- EOF
268
- },
269
- },
270
-
271
258
# ####
272
259
# Deprecated stuff, by OpenSSL release.
273
260
You can’t perform that action at this time.
0 commit comments