Fix Hash::make statement in check function

Change-Id: I0228edbd73417a6903afc84e4da9f34dabe6ef58