commit | 00f8e5733f716da8032606566eac7a9e2e49514d | [log] [tgz] |
---|---|---|
author | Jay Freeman (saurik) <saurik@saurik.com> | Tue Aug 09 17:18:14 2016 -0700 |
committer | Jay Freeman (saurik) <saurik@saurik.com> | Tue Aug 09 17:18:14 2016 -0700 |
tree | ff9e6cc68681651f069f138bbaddb87f04779bbb | |
parent | 72643b2b83990b9cf97cc84b285b30763d44a72d [diff] |
lockdown: return LOCKDOWN_E_INVALID_HOST_ID when missing pair record When the check of /var/db/lockdown was removed, lockdownd_do_pair started to always return LOCKDOWN_E_INVALID_CONF instead of usually (but not always...) returning LOCKDOWN_E_INVALID_HOST_ID for devices not currently paired. This change not only breaks some third-party code, but also breaks the other code in this library calling this function (lockdownd_client_new_with_handshake).