diff options
Diffstat (limited to 'lib/libcrypto/engine/eng_lib.c')
-rw-r--r-- | lib/libcrypto/engine/eng_lib.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libcrypto/engine/eng_lib.c b/lib/libcrypto/engine/eng_lib.c index 126bc022966..5ced58c86e0 100644 --- a/lib/libcrypto/engine/eng_lib.c +++ b/lib/libcrypto/engine/eng_lib.c @@ -118,13 +118,7 @@ int engine_free_util(ENGINE *e, int locked) i = --e->struct_ref; engine_ref_debug(e, 0, -1) if (i > 0) return 1; -#ifdef REF_CHECK - if (i < 0) - { - fprintf(stderr,"ENGINE_free, bad structural reference count\n"); - abort(); - } -#endif + /* Free up any dynamically allocated public key methods */ engine_pkey_meths_free(e); engine_pkey_asn1_meths_free(e); |