Merge "(bug 43177) API: Fix regression in case handling for sha1 params"