summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-01-04 02:53:22 +0100
committerGravatar Nikias Bassen2018-01-04 02:53:22 +0100
commit1db59f89159c0f9ebf470827af75e6e1b70e2469 (patch)
treee2bc7a0d51541c62d6fc48b61274ec91ac8ea515
parent8b2e1679a8ce64a88640cb6722c2d00ad4b14d2e (diff)
downloadlibideviceactivation-1db59f89159c0f9ebf470827af75e6e1b70e2469.tar.gz
libideviceactivation-1db59f89159c0f9ebf470827af75e6e1b70e2469.tar.bz2
ideviceactivation: Make sure to always perform drmHandshake for iOS >= 10
-rw-r--r--tools/ideviceactivation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ideviceactivation.c b/tools/ideviceactivation.c
index 561450c..d50bf98 100644
--- a/tools/ideviceactivation.c
+++ b/tools/ideviceactivation.c
@@ -228,7 +228,7 @@ int main(int argc, char *argv[])
if (use_mobileactivation) {
// create activation request from mobileactivation
plist_t ainfo = NULL;
- if (mobileactivation_create_activation_info(ma, &ainfo) != MOBILEACTIVATION_E_SUCCESS) {
+ if ((product_version >= 0x0A0000) || (mobileactivation_create_activation_info(ma, &ainfo) != MOBILEACTIVATION_E_SUCCESS)) {
session_mode = 1;
}
mobileactivation_client_free(ma);