summaryrefslogtreecommitdiffstats
path: root/src/idevice.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-08-13 00:12:16 +0200
committerGravatar Nikias Bassen2017-08-13 00:12:16 +0200
commit5a85432719fb3d18027d528f87d2a44b76fd3e12 (patch)
tree3b4ee4ae280fd0166bd8e5b6d0e03db293ace590 /src/idevice.h
parent0dbe76b4e75eef5d0e033aac99409fb6df36c512 (diff)
downloadlibimobiledevice-5a85432719fb3d18027d528f87d2a44b76fd3e12.tar.gz
libimobiledevice-5a85432719fb3d18027d528f87d2a44b76fd3e12.tar.bz2
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.
Diffstat (limited to 'src/idevice.h')
-rw-r--r--src/idevice.h1
1 files changed, 1 insertions, 0 deletions
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