X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fengine%2Feng_table.c;h=ad15f3a51cd80f7befdb4b2754c33c9de9cd7755;hp=220d632bda8f075dd95e130b068800a373fa23f5;hb=63c75cd688352b83afd7f874b89139e282647046;hpb=62d0577e0d5e3703436d0fba362d516481291810 diff --git a/crypto/engine/eng_table.c b/crypto/engine/eng_table.c index 220d632bda..ad15f3a51c 100644 --- a/crypto/engine/eng_table.c +++ b/crypto/engine/eng_table.c @@ -219,14 +219,11 @@ static void int_cleanup_cb_doall(ENGINE_PILE *p) OPENSSL_free(p); } -static IMPLEMENT_LHASH_DOALL_FN(int_cleanup_cb, ENGINE_PILE) - void engine_table_cleanup(ENGINE_TABLE **table) { CRYPTO_w_lock(CRYPTO_LOCK_ENGINE); if (*table) { - lh_ENGINE_PILE_doall(&(*table)->piles, - LHASH_DOALL_FN(int_cleanup_cb)); + lh_ENGINE_PILE_doall(&(*table)->piles, int_cleanup_cb_doall); lh_ENGINE_PILE_free(&(*table)->piles); *table = NULL; }