summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-07-29 03:36:29 +0200
committerGravatar Nikias Bassen2021-07-29 03:36:29 +0200
commit6c7b50355cc5de1da1d7677e012f18efbce34237 (patch)
tree9f70fb484fd9f4c5ecc65b4f2ca4fd4732c94e65 /include/libimobiledevice
parent8e01e874113f430dc7a1835282ff93226863e47c (diff)
downloadlibimobiledevice-6c7b50355cc5de1da1d7677e012f18efbce34237.tar.gz
libimobiledevice-6c7b50355cc5de1da1d7677e012f18efbce34237.tar.bz2
lockdown: Get DeviceClass to make sure OS version dependent code is executed correctly
The code in lockdownd_client_new_with_handshake would call the function lockdownd_validate_pair based on the OS version being less than 7.0 without taking into account that Watch OS has a different versioning scheme compared to the other device classes. For this and any future version/device specific checks, the code now queries the DeviceClass and stores it in the idevice_private struct.
Diffstat (limited to 'include/libimobiledevice')
0 files changed, 0 insertions, 0 deletions