mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add Requirements 18-20 to rules.go
This commit is contained in:
parent
87dbb5674b
commit
719ecaea76
1 changed files with 6 additions and 1 deletions
|
|
@ -187,7 +187,12 @@ func (p *processor) eval(requirement int) bool {
|
|||
case 17:
|
||||
// TODO: Implement me!
|
||||
return true
|
||||
|
||||
case 18:
|
||||
return !p.badIntegrities.hasErrors()
|
||||
case 19:
|
||||
return !p.badSignatures.hasErrors()
|
||||
case 20:
|
||||
return !p.badPGPs.hasErrors()
|
||||
default:
|
||||
panic(fmt.Sprintf("evaluating unexpected requirement %d", requirement))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue