void do_single_crack(struct db_main *db) { struct rpp_context ctx; single_db = db; rule_ctx = &ctx; single_init(); single_run(); single_done(); }
void do_single_crack(struct db_main *db) { struct rpp_context ctx; single_db = db; rule_ctx = &ctx; single_init(); single_run(); single_done(); rule_ctx = NULL; /* Just for good measure */ }