summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/engine/eng_init.c')
-rw-r--r--crypto/engine/eng_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_init.c b/crypto/engine/eng_init.c
index 2f42593676..ca1cd45e97 100644
--- a/crypto/engine/eng_init.c
+++ b/crypto/engine/eng_init.c
@@ -34,7 +34,7 @@ int engine_unlocked_init(ENGINE *e)
* OK, we return a functional reference which is also a structural
* reference.
*/
- if (!CRYPTO_UP_REF(&e->struct_ref, &ref, e->refcnt_lock)) {
+ if (!CRYPTO_UP_REF(&e->struct_ref, &ref)) {
e->finish(e);
return 0;
}