Skip to content

Commit

Permalink
kernel: Restore original build signature
Browse files Browse the repository at this point in the history
  • Loading branch information
changhuapeng committed Jan 13, 2025
1 parent 0abecf1 commit 980be0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions kernel/apk_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,5 @@ module_param_cb(ksu_debug_manager_uid, &expected_size_ops,

bool ksu_is_manager_apk(char *path)
{
#ifdef CONFIG_KSU_SUSFS
return (check_v2_signature(path, EXPECTED_SIZE, EXPECTED_HASH) ||
check_v2_signature(path, 384, "7e0c6d7278a3bb8e364e0fcba95afaf3666cf5ff3c245a3b63c8833bd0445cc4")); // 5ec1cff
#else
return check_v2_signature(path, EXPECTED_SIZE, EXPECTED_HASH);
#endif
}
}

0 comments on commit 980be0f

Please sign in to comment.