Skip to content

Commit

Permalink
treewide: fix spelling errors
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Ott <[email protected]>
  • Loading branch information
smo4201 committed Mar 25, 2024
1 parent 531fc5f commit 5728576
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion attestationreport/validationreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ func (r *VerificationResult) PrintErr() {
}
r.DevDescResult.RtmOsCompatibility.PrintErr("RTM OS compatibility")
for _, a := range r.DevDescResult.OsAppsCompatibility {
a.PrintErr("OS App compatibiltiy check")
a.PrintErr("OS App compatibility check")
}

if !r.PolicySuccess {
Expand Down
2 changes: 1 addition & 1 deletion attestedhttp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func prepareClient(c *Client) error {
MaxResponseHeaderBytes: c.Transport.MaxResponseHeaderBytes,
WriteBufferSize: c.Transport.WriteBufferSize,
ReadBufferSize: c.Transport.ReadBufferSize,
TLSClientConfig: c.Transport.TLSClientConfig, // Ignored becuase of custom DialContext
TLSClientConfig: c.Transport.TLSClientConfig, // Ignored because of custom DialContext
IdleConnTimeout: c.Transport.IdleConnTimeout,
// Fixed custom TLS dial function to enforce aHTTPS
DialTLSContext: func(ctx context.Context, network, addr string) (net.Conn, error) {
Expand Down
2 changes: 1 addition & 1 deletion ima/ima.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func parseImaRuntimeDigests(data []byte) ([]ar.PcrEvent, error) {
// Parse the template data to retrieve additional information
_, eventName, err := parseTemplateData(&template)
if err != nil {
log.Tracef("Failed to parse addtional template data: %v", err)
log.Tracef("Failed to parse additional template data: %v", err)
}

event := ar.PcrEvent{
Expand Down

0 comments on commit 5728576

Please sign in to comment.