diff options
author | Martin Szulecki | 2013-08-18 05:28:53 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-17 11:43:33 +0200 |
commit | ec720cc1c30ac3f9b7996575e835565f60ce2b3e (patch) | |
tree | f92476e06ce36ab56348544fb9ae614ec10d904c /src/idevice.c | |
parent | 36e636a727ecbae7083878ceb493b26046a47179 (diff) | |
download | libimobiledevice-ec720cc1c30ac3f9b7996575e835565f60ce2b3e.tar.gz libimobiledevice-ec720cc1c30ac3f9b7996575e835565f60ce2b3e.tar.bz2 |
Refactor userpref logic to use plist format and implement trust dialog handling
iOS 7 introduced a new pairing workflow which increases security by showing a
trust dialog to the user before pairing with the host is allowed.
The userpref system was refactored to use the native plist format, too.
Configuration files of the native implementations are used on each platform.
Former configuration files are no longer in use and can be deleted.
Diffstat (limited to 'src/idevice.c')
-rw-r--r-- | src/idevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevice.c b/src/idevice.c index c605da3..4a6f544 100644 --- a/src/idevice.c +++ b/src/idevice.c @@ -668,7 +668,7 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection) key_data_t root_cert = { NULL, 0 }; key_data_t root_privkey = { NULL, 0 }; - userpref_error_t uerr = userpref_get_keys_and_certs(&root_privkey, &root_cert, NULL, NULL); + userpref_error_t uerr = userpref_device_record_get_keys_and_certs(connection->udid, &root_privkey, &root_cert, NULL, NULL); if (uerr != USERPREF_E_SUCCESS) { debug_info("Error %d when loading keys and certificates! %d", uerr); } |