diff options
author | Martin Szulecki | 2013-11-20 11:26:55 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-20 11:39:37 +0100 |
commit | ccf66d744077218dc9eea230172e292afac00a0b (patch) | |
tree | 50cf1581b9439d9ac9279ede2225ec235c684ff8 /src | |
parent | 9308e665a2741690b4fa50fa494d7568dda95a28 (diff) | |
download | idevicerestore-ccf66d744077218dc9eea230172e292afac00a0b.tar.gz idevicerestore-ccf66d744077218dc9eea230172e292afac00a0b.tar.bz2 |
tss: Fix check on ApSecurityMode which is a boolean
Diffstat (limited to 'src')
-rw-r--r-- | src/tss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ int tss_request_add_ap_img4_tags(plist_t request, plist_t parameters) { if (!node) { /* copy from parameters if available */ node = plist_dict_get_item(parameters, "ApSecurityMode"); - if (!node || plist_get_node_type(node) != PLIST_UINT) { + if (!node || plist_get_node_type(node) != PLIST_BOOLEAN) { error("ERROR: Unable to find required ApSecurityMode in parameters\n"); return -1; } |