summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-23 20:14:08 +0200
committerGravatar Martin Szulecki2013-09-23 20:14:08 +0200
commit5f44b67732e1fec0bc041928f49b4b0bf9ac854e (patch)
tree7f68a40b287714713dff132d6ad76dd210c58ba6
parent6003fc562b58df3333b0e4e7cbe4d8c22697db33 (diff)
downloadlibimobiledevice-5f44b67732e1fec0bc041928f49b4b0bf9ac854e.tar.gz
libimobiledevice-5f44b67732e1fec0bc041928f49b4b0bf9ac854e.tar.bz2
lockdown: Remove EscrowBag feature for now as it caused services to not start
-rw-r--r--src/lockdown.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index 4ed3d76..f616d25 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -1674,7 +1674,6 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char
return LOCKDOWN_E_INVALID_CONF;
plist_t dict = NULL;
- plist_t escrow_bag = NULL;
uint16_t port_loc = 0;
lockdownd_error_t ret = LOCKDOWN_E_UNKNOWN_ERROR;
@@ -1686,12 +1685,6 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char
plist_dict_insert_item(dict,"Request", plist_new_string("StartService"));
plist_dict_insert_item(dict,"Service", plist_new_string(identifier));
- /* send EscrowBag if within a session */
- if (client->session_id) {
- userpref_device_record_get_value(client->udid, USERPREF_ESCROW_BAG_KEY, &escrow_bag);
- plist_dict_insert_item(dict,"EscrowBag", escrow_bag);
- }
-
/* send to device */
ret = lockdownd_send(client, dict);
plist_free(dict);