microsoft / ms-tpm-20-ref

Reference implementation of the TCG Trusted Platform Module 2.0 specification.
Other
339 stars 133 forks source link

Fix non-ASCII characters #75

Closed josephlr closed 2 years ago

josephlr commented 2 years ago

Some of the files are almost entirely ASCII except for one or two characters. These were caused by copy-paste errors or buggy text editors.

None of the files in Samples are modified, despite also contain a few bad characters. I would assume that vendor code is only updated by the corresponding vendor.

Signed-off-by: Joe Richey joerichey@google.com

josephlr commented 2 years ago

It can now be verified that all the source code files now use a correct encoding by running:

file -b TPMCmd/**/*.{h,c} CONTRIBUTING.md LICENSE README.md | sort | uniq

which gives output:

ASCII text
ASCII text, with CRLF line terminators
ASCII text, with very long lines (533), with CRLF line terminators
ASCII text, with very long lines (757), with CRLF line terminators
C source, ASCII text
C source, ASCII text, with CRLF line terminators

which looks reasonable.