~timmie/libimobiledevice/libimobiledevice-github

Viewing all changes in revision 1205.

  • Committer: Nikias Bassen
  • Date: 2017-08-12 22:12:16 UTC
  • Revision ID: git-v1:5a85432719fb3d18027d528f87d2a44b76fd3e12
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: