summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_dyn.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-09 00:07:10 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 00:33:38 +0100
commitbe1251f73def8169b98d53430b631df13d430dbc (patch)
tree5c86f206d7fde6cbc510920253fa1f5ff1e42d5b /crypto/engine/eng_dyn.c
parentEngine API repair - memory management hooks (diff)
downloadopenssl-be1251f73def8169b98d53430b631df13d430dbc.tar.xz
openssl-be1251f73def8169b98d53430b631df13d430dbc.zip
Remove the transfer of lock hooks from bind_engine
With the new threads API, this is no longer needed. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/engine/eng_dyn.c')
-rw-r--r--crypto/engine/eng_dyn.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/engine/eng_dyn.c b/crypto/engine/eng_dyn.c
index 30ffa75d26..8d29d9a1cf 100644
--- a/crypto/engine/eng_dyn.c
+++ b/crypto/engine/eng_dyn.c
@@ -512,11 +512,6 @@ static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx)
fns.static_state = ENGINE_get_static_state();
CRYPTO_get_mem_functions(fns.mem_fns.malloc_fn, fns.mem_fns.realloc_fn,
fns.mem_fns.free_fn);
- fns.lock_fns.lock_locking_cb = CRYPTO_get_locking_callback();
- fns.lock_fns.lock_add_lock_cb = CRYPTO_get_add_lock_callback();
- fns.lock_fns.dynlock_create_cb = CRYPTO_get_dynlock_create_callback();
- fns.lock_fns.dynlock_lock_cb = CRYPTO_get_dynlock_lock_callback();
- fns.lock_fns.dynlock_destroy_cb = CRYPTO_get_dynlock_destroy_callback();
/*
* Now that we've loaded the dynamic engine, make sure no "dynamic"
* ENGINE elements will show through.