-
Notifications
You must be signed in to change notification settings - Fork 168
Updates to PCPTool #181
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
base: main
Are you sure you want to change the base?
Updates to PCPTool #181
Conversation
…eral keys in one operation
@microsoft-github-policy-service agree |
PCPTool.v11/exe/SDKSample.cpp
Outdated
| } | ||
| hr = S_OK; | ||
| continue; | ||
| goto Cleanup; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the goto statement can be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for spotting it. I have removed it!
PCPTool.v11/exe/SDKSample.cpp
Outdated
| { | ||
| wprintf(L" Failed (0x%08lx)\n", hr); | ||
| } | ||
| else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you uniform styles? Here { is on same line as else. On others its on next line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
PCPTool.v11/exe/SDKSample.cpp
Outdated
| } | ||
| } | ||
|
|
||
| if (matchingKeys == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, { is on same line as if here but on new line in other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
PCPTool.v11/inc/TpmAtt.h
Outdated
|
|
||
| // SIPA event structures | ||
|
|
||
| //// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete old declarations or code (to see what the previous code looked like, one can use git history).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ksmith3036 old PR but if you refresh and confirm I am happy to review and merge
dwizzzle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes look good to me and covered Ron's feedback
Updated to new build tools and new Windows SDK. Fixed conflicting method declarations.
Fixed handling of user versus machine keys.
Added DeleteKeys method, accepting a regex as argument, to delete several keys in one operation.