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 f616d25..087d673 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -1674,6 +1674,7 @@ 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; @@ -1684,6 +1685,8 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char plist_dict_add_label(dict, client->label); plist_dict_insert_item(dict,"Request", plist_new_string("StartService")); plist_dict_insert_item(dict,"Service", plist_new_string(identifier)); + 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); |