diff options
author | David Benjamin <davidben@chromium.org> | 2015-04-15 22:28:43 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-16 02:23:50 +0300 |
commit | 32cd83f4def72fadbf1ba9aa3a61de93fd46373b (patch) | |
tree | d0ede168b25dee1eac1e73f2220f0bd251d59278 /crypto/internal.h | |
parent | daf2c5dc0c865c6c52cbeea1448a9c471e9d192a (diff) |
Remove the ability to set custom ex_data implementations.
This is never used and we can make the built-in one performant.
Change-Id: I6fc7639ba852349933789e73762bc3fa1341b2ff
Reviewed-on: https://boringssl-review.googlesource.com/4370
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 9c5d487c..9c76b12c 100644 --- a/crypto/internal.h +++ b/crypto/internal.h @@ -166,21 +166,6 @@ extern "C" { #define OPENSSL_SUPPRESS_UNREACHABLE_CODE_WARNINGS #endif -/* st_CRYPTO_EX_DATA_IMPL contains an ex_data implementation. See the comments - * in ex_data.h for details of the behaviour of each of the functions. */ -struct st_CRYPTO_EX_DATA_IMPL { - int (*new_class)(void); - void (*cleanup)(void); - - int (*get_new_index)(int class_value, long argl, void *argp, - CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, - CRYPTO_EX_free *free_func); - int (*new_ex_data)(int class_value, void *obj, CRYPTO_EX_DATA *ad); - int (*dup_ex_data)(int class_value, CRYPTO_EX_DATA *to, - const CRYPTO_EX_DATA *from); - void (*free_ex_data)(int class_value, void *obj, CRYPTO_EX_DATA *ad); -}; - #if defined(_MSC_VER) #define OPENSSL_U64(x) x##UI64 |