From 5a85432719fb3d18027d528f87d2a44b76fd3e12 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 13 Aug 2017 00:12:16 +0200 Subject: lockdown: Don't explicitly validate pairing unless we're dealing with an older device On newer iOS version, ValidatePair is not mandatory to gain trusted host status. Starting with iOS 11, the ValidatePair request has been removed from lockdownd and will throw an error. This commit adds a version check so that ValidatePair is only called on devices prior iOS 7. --- src/idevice.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/idevice.h') diff --git a/src/idevice.h b/src/idevice.h index 1354cc0..e46a7e5 100644 --- a/src/idevice.h +++ b/src/idevice.h @@ -76,6 +76,7 @@ struct idevice_private { char *udid; enum connection_type conn_type; void *conn_data; + int version; }; #endif -- cgit v1.1-32-gdbae