diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tss.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -330,9 +330,10 @@ int tss_request_add_ap_tags_from_manifest(plist_t request, plist_t build_identit /* remove obsolete Info node */ plist_dict_remove_item(tss_entry, "Info"); - /* FIXME: If ApSupportsImg4 */ - plist_dict_insert_item(tss_entry, "EPRO", plist_new_bool(1)); - plist_dict_insert_item(tss_entry, "ESEC", plist_new_bool(1)); + if (plist_access_path(manifest_entry, 2, "Info", "RestoreRequestRules")) { + plist_dict_insert_item(tss_entry, "EPRO", plist_new_bool(1)); + plist_dict_insert_item(tss_entry, "ESEC", plist_new_bool(1)); + } plist_dict_insert_item(request, key, tss_entry); |