diff options
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_table.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/engine/eng_table.c b/crypto/engine/eng_table.c index 4fde948185..22cddee40e 100644 --- a/crypto/engine/eng_table.c +++ b/crypto/engine/eng_table.c @@ -346,6 +346,8 @@ void engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb, ENGINE_PILE_DOALL dall; dall.cb = cb; dall.arg = arg; - lh_ENGINE_PILE_doall_arg(&table->piles, LHASH_DOALL_ARG_FN(int_cb), - ENGINE_PILE_DOALL, &dall); + if (table) + lh_ENGINE_PILE_doall_arg(&table->piles, + LHASH_DOALL_ARG_FN(int_cb), + ENGINE_PILE_DOALL, &dall); } |