diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lockdown.c | 7 |
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 | |||
| 1674 | return LOCKDOWN_E_INVALID_CONF; | 1674 | return LOCKDOWN_E_INVALID_CONF; |
| 1675 | 1675 | ||
| 1676 | plist_t dict = NULL; | 1676 | plist_t dict = NULL; |
| 1677 | plist_t escrow_bag = NULL; | ||
| 1678 | uint16_t port_loc = 0; | 1677 | uint16_t port_loc = 0; |
| 1679 | lockdownd_error_t ret = LOCKDOWN_E_UNKNOWN_ERROR; | 1678 | lockdownd_error_t ret = LOCKDOWN_E_UNKNOWN_ERROR; |
| 1680 | 1679 | ||
| @@ -1686,12 +1685,6 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char | |||
| 1686 | plist_dict_insert_item(dict,"Request", plist_new_string("StartService")); | 1685 | plist_dict_insert_item(dict,"Request", plist_new_string("StartService")); |
| 1687 | plist_dict_insert_item(dict,"Service", plist_new_string(identifier)); | 1686 | plist_dict_insert_item(dict,"Service", plist_new_string(identifier)); |
| 1688 | 1687 | ||
| 1689 | /* send EscrowBag if within a session */ | ||
| 1690 | if (client->session_id) { | ||
| 1691 | userpref_device_record_get_value(client->udid, USERPREF_ESCROW_BAG_KEY, &escrow_bag); | ||
| 1692 | plist_dict_insert_item(dict,"EscrowBag", escrow_bag); | ||
| 1693 | } | ||
| 1694 | |||
| 1695 | /* send to device */ | 1688 | /* send to device */ |
| 1696 | ret = lockdownd_send(client, dict); | 1689 | ret = lockdownd_send(client, dict); |
| 1697 | plist_free(dict); | 1690 | plist_free(dict); |
