Skip to content

Commit

Permalink
Use custom signing service URL for drmHandshake request too
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Apr 21, 2023
1 parent be6ffe8 commit 1be7839
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/ideviceactivation.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ int main(int argc, char *argv[])
idevice_activation_request_set_fields(request, blob);
plist_free(blob);

if (signing_service_url) {
idevice_activation_request_set_url(request, signing_service_url);
}

/* send request to server and get response */
if (idevice_activation_send_request(request, &response) != IDEVICE_ACTIVATION_E_SUCCESS) {
fprintf(stderr, "Failed to get drmHandshake result from activation server.\n");
Expand Down

0 comments on commit 1be7839

Please sign in to comment.