From be1251f73def8169b98d53430b631df13d430dbc Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 9 Mar 2016 00:07:10 +0100 Subject: Remove the transfer of lock hooks from bind_engine With the new threads API, this is no longer needed. Reviewed-by: Matt Caswell --- crypto/engine/eng_dyn.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crypto/engine/eng_dyn.c') 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. -- cgit v1.2.3