X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fengine%2Feng_table.c;h=220d632bda8f075dd95e130b068800a373fa23f5;hp=73e72fe3d341cec88e33487e92a403a4e89443b2;hb=62d0577e0d5e3703436d0fba362d516481291810;hpb=e6b5c341b94d357b0158ad74b12edd51399a4b87 diff --git a/crypto/engine/eng_table.c b/crypto/engine/eng_table.c index 73e72fe3d3..220d632bda 100644 --- a/crypto/engine/eng_table.c +++ b/crypto/engine/eng_table.c @@ -106,9 +106,6 @@ static int engine_pile_cmp(const ENGINE_PILE *a, const ENGINE_PILE *b) return a->nid - b->nid; } -static IMPLEMENT_LHASH_HASH_FN(engine_pile, ENGINE_PILE) -static IMPLEMENT_LHASH_COMP_FN(engine_pile, ENGINE_PILE) - static int int_table_check(ENGINE_TABLE **t, int create) { LHASH_OF(ENGINE_PILE) *lh; @@ -117,7 +114,7 @@ static int int_table_check(ENGINE_TABLE **t, int create) return 1; if (!create) return 0; - if ((lh = lh_ENGINE_PILE_new()) == NULL) + if ((lh = lh_ENGINE_PILE_new(engine_pile_hash, engine_pile_cmp)) == NULL) return 0; *t = (ENGINE_TABLE *)lh; return 1;