diff options
Diffstat (limited to 'src/lockdown.c')
| -rw-r--r-- | src/lockdown.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 1b33250..5c51120 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -671,6 +671,9 @@ lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_ | |||
| 671 | if (LOCKDOWN_E_SUCCESS == ret && !userpref_has_device_public_key(client_loc->uuid)) | 671 | if (LOCKDOWN_E_SUCCESS == ret && !userpref_has_device_public_key(client_loc->uuid)) |
| 672 | ret = lockdownd_pair(client_loc, host_id); | 672 | ret = lockdownd_pair(client_loc, host_id); |
| 673 | 673 | ||
| 674 | /* in any case, we need to validate pairing to receive trusted host status */ | ||
| 675 | ret = lockdownd_validate_pair(client_loc, host_id); | ||
| 676 | |||
| 674 | if (LOCKDOWN_E_SUCCESS == ret) { | 677 | if (LOCKDOWN_E_SUCCESS == ret) { |
| 675 | ret = lockdownd_start_ssl_session(client_loc, host_id); | 678 | ret = lockdownd_start_ssl_session(client_loc, host_id); |
| 676 | if (LOCKDOWN_E_SUCCESS != ret) { | 679 | if (LOCKDOWN_E_SUCCESS != ret) { |
