diff options
author | Rich Salz <rsalz@openssl.org> | 2015-04-28 10:50:54 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-04-28 10:50:54 -0400 |
commit | 3e47caff4830d2a117eda15b57a5feab89b846ae (patch) | |
tree | 6f0e22be0abe581e9e973c28e4bc4d7f532ef5c4 /crypto/engine/eng_dyn.c | |
parent | 0223ca0987aa8c3b0c4adc084c1f03a5e4e32288 (diff) |
ERR_ cleanup
Remove ERR_[gs]et_implementation as they were not undocumented and
useless (the data structure was opaque).
Halve the number of lock/unlock calls in almost all ERR_
functions by letting the caller of get_hash or int_thread_set
able to lock. Very useful when looping, such as adding errors,
or when getting the hash and immediately doing a lookup on it.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/engine/eng_dyn.c')
-rw-r--r-- | crypto/engine/eng_dyn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/engine/eng_dyn.c b/crypto/engine/eng_dyn.c index 3169b09ad8..31ec324422 100644 --- a/crypto/engine/eng_dyn.c +++ b/crypto/engine/eng_dyn.c @@ -519,7 +519,6 @@ static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx) * would also increase opaqueness. */ fns.static_state = ENGINE_get_static_state(); - fns.err_fns = ERR_get_implementation(); fns.ex_data_fns = CRYPTO_get_ex_data_implementation(); CRYPTO_get_mem_functions(&fns.mem_fns.malloc_cb, &fns.mem_fns.realloc_cb, &fns.mem_fns.free_cb); |