Missing pointer in the eng_table_register function. Reported by
[openssl.git] / crypto / engine / eng_table.c
index f3210f4d4c1c03e8c54ecfb98126d3c193dace64..2e00f285d54b7b8ff8fc9c3934780a1d14aeb0dc 100644 (file)
@@ -134,7 +134,7 @@ static int int_table_check(ENGINE_TABLE **t, int create)
 
 /* Privately exposed (via eng_int.h) functions for adding and/or removing
  * ENGINEs from the implementation table */
-int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB cleanup,
+int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup,
                ENGINE *e, const int *nids, int num_nids, int setdefault)
        {
        int ret = 0, added = 0;