Skip to content

Commit

Permalink
tss: Use SepNonce with fallback to ApSepNonce when processing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Sep 26, 2024
1 parent 7b4914b commit 263f3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tss.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ int tss_request_add_ap_img4_tags(plist_t request, plist_t parameters)
}
}

plist_dict_copy_data(request, parameters, "SepNonce", "ApSepNonce");
plist_dict_copy_data(request, parameters, "SepNonce", plist_dict_get_item(parameters, "SepNonce") ? NULL : "ApSepNonce");
plist_dict_copy_uint(request, parameters, "NeRDEpoch", NULL);
plist_dict_copy_data(request, parameters, "PearlCertificationRootPub", NULL);
plist_dict_copy_bool(request, parameters, "AllowNeRDBoot", NULL);
Expand Down

0 comments on commit 263f3b3

Please sign in to comment.