Skip to content

Commit

Permalink
efi: fix a couple of review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisccoulson committed Jun 11, 2024
1 parent 996a488 commit ecc15ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion efi/image_rules_defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func makeMicrosoftUEFICASecureBootNamespaceRules() *secureBootNamespaceRules {
0x13, 0xad, 0xbf, 0x43, 0x09, 0xbd, 0x82, 0x70, 0x9c, 0x8c,
0xd5, 0x4f, 0x31, 0x6e, 0xd5, 0x22, 0x98, 0x8a, 0x1b, 0xd4,
},
// pubkey a;g
// pubkey alg
x509.RSA,
),
// TODO(chrisccoulson): add tests for this when we find something that it's
Expand Down
10 changes: 5 additions & 5 deletions efi/pcr_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ import (
"golang.org/x/xerrors"
)

// PCRProfileOption is an option for AddPCRProfile
type PCRProfileOption interface {
applyOptionTo(gen *pcrProfileGenerator)
}

// PCRProfileEnablePCRsOption is an option for AddPCRProfile that adds one or more PCRs.
type PCRProfileEnablePCRsOption interface {
PCRProfileOption
PCRs() tpm2.HandleList
}

// PCRProfileOption is an option for AddPCRProfile
type PCRProfileOption interface {
applyOptionTo(gen *pcrProfileGenerator)
}

type pcrProfileSetPcrsOption struct {
PCRProfileOption
pcrs pcrFlags
Expand Down

0 comments on commit ecc15ab

Please sign in to comment.