summaryrefslogtreecommitdiffstats
path: root/src/tss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tss.c')
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index a56322e..14218f2 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -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;
}