Add GMScore into allow list to invoke signRSA API.
Purpose: Moving cast auth into GMScore. Deisign doc: go/gtv-cast-auth Bug: b/322097595 Test: Manual Change-Id: Ic18188dfa61df0d64c1b19fddc99abe851f8b724
This commit is contained in:
@@ -1708,9 +1708,9 @@ static WvStatus getDeviceSignedCsrPayload(
|
|||||||
const char* sid = AIBinder_getCallingSid();
|
const char* sid = AIBinder_getCallingSid();
|
||||||
if (!sid ||
|
if (!sid ||
|
||||||
(!strstr(sid, ":mediashell_app:") && !strstr(sid, ":mediadrmserver:") &&
|
(!strstr(sid, ":mediashell_app:") && !strstr(sid, ":mediadrmserver:") &&
|
||||||
!strstr(sid, ":setupwraith_app:"))) {
|
!strstr(sid, ":setupwraith_app:") && !strstr(sid, ":gmscore_app:"))) {
|
||||||
ALOGE(
|
ALOGE(
|
||||||
"Only mediashell/mediadrmserver/setupwraith_app can call signRSA, "
|
"Only mediashell/mediadrmserver/setupwraith_app/gmscore_app can call signRSA, "
|
||||||
"but actually: %s",
|
"but actually: %s",
|
||||||
sid);
|
sid);
|
||||||
return toNdkScopedAStatus(Status::ERROR_DRM_UNKNOWN);
|
return toNdkScopedAStatus(Status::ERROR_DRM_UNKNOWN);
|
||||||
|
|||||||
Reference in New Issue
Block a user