Skip to content

Commit

Permalink
Merge pull request #129 from deeglaze/oldabi
Browse files Browse the repository at this point in the history
Skip old ABI tests for roots without them.
  • Loading branch information
deeglaze authored Jul 9, 2024
2 parents 927b36e + ea072d6 commit d2cd5fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions verify/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ func TestEmbeddedCertsAppendixB3Expectations(t *testing.T) {
// https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
// Appendix B.1
for _, root := range trust.DefaultRootCerts {
// Genoa does not use the deprecated key format.
if root.ArkSev == nil || root.AskSev == nil {
continue
}
if err := validateAskSev(root); err != nil {
t.Errorf("Embedded ASK failed validation: %v", err)
}
Expand Down

0 comments on commit d2cd5fb

Please sign in to comment.