Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistant tc list in update #94

Closed
wants to merge 1 commit into from

Conversation

mcd500
Copy link
Collaborator

@mcd500 mcd500 commented Jan 5, 2021

Changing the type of tc-list to be array of tc-info among all teep messages.

@mcd500 mcd500 force-pushed the consistant-tc-list-in-update branch from 90c247f to 79b87d2 Compare January 5, 2021 08:31
@@ -1110,7 +1110,7 @@ update = [
type: TEEP-TYPE-update,
options: {
? token => uint,
? tc-list => [ + SUIT_Component_Identifier ],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be SUIT_Component_Identifier, to match the type of unneeded-tc-list in the QueryResponse message. It would be ok to rename tc-list here (e.g., to unneeded-tc-list or delete-tc-list).

@@ -527,7 +527,7 @@ update = [
type: TEEP-TYPE-update,
options: {
? token => uint,
? tc-list => [ + bstr ],
? tc-list => [ + tc-info ],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was incorrect before (thanks for catching), but tc-info is not the correct type. See my next comment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue for tracking the discussion is #95.
Closing this PR, the new PR is #97

@mcd500 mcd500 closed this Jan 6, 2021
@mcd500 mcd500 deleted the consistant-tc-list-in-update branch January 19, 2021 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants