diff --git a/src/opencl_rawsha256_fmt_plug.c b/src/opencl_rawsha256_fmt_plug.c index 54b717a..53a3625 100644 --- a/src/opencl_rawsha256_fmt_plug.c +++ b/src/opencl_rawsha256_fmt_plug.c @@ -346,6 +346,8 @@ static void reset(struct db_main *db) create_clobj(global_work_size, self); load_hash(db->salts); } + + hash_ids[0] = 0; } /* ------- Key functions ------- */ diff --git a/src/opencl_rawsha512_fmt_plug.c b/src/opencl_rawsha512_fmt_plug.c index e4edd79..de50862 100644 --- a/src/opencl_rawsha512_fmt_plug.c +++ b/src/opencl_rawsha512_fmt_plug.c @@ -411,6 +411,8 @@ static void reset(struct db_main *db) create_clobj(global_work_size, self); load_hash(db->salts); } + + hash_ids[0] = 0; } /* ------- Key functions ------- */