summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-21 17:28:01 +0200
committerGravatar Nikias Bassen2023-04-21 17:28:01 +0200
commit1be78391da2ce39fbf3971226ef643042b75fffd (patch)
tree9b86f60f7758d12027061858b09c6605277c4a9a /tools
parentbe6ffe8788cbb633bff0526f4e7a69625f0cdad6 (diff)
downloadlibideviceactivation-1be78391da2ce39fbf3971226ef643042b75fffd.tar.gz
libideviceactivation-1be78391da2ce39fbf3971226ef643042b75fffd.tar.bz2
Use custom signing service URL for drmHandshake request too
Diffstat (limited to 'tools')
-rw-r--r--tools/ideviceactivation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ideviceactivation.c b/tools/ideviceactivation.c
index 33e6be7..757c54e 100644
--- a/tools/ideviceactivation.c
+++ b/tools/ideviceactivation.c
@@ -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");