1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Cross validate where CSAFs where found.

This commit is contained in:
Sascha L. Teichmann 2021-12-16 02:59:33 +01:00
parent 8e16650512
commit deaf8a5722
2 changed files with 78 additions and 18 deletions

View file

@ -142,11 +142,11 @@ func (r *directoryListingsReporter) report(_ *processor, domain *Domain) {
func (r *integrityReporter) report(p *processor, domain *Domain) {
req := r.requirement(domain)
if len(p.badHashes) == 0 {
if len(p.badIntegrities) == 0 {
req.message("All checksums match.")
return
}
req.Messages = p.badHashes
req.Messages = p.badIntegrities
}
func (r *signaturesReporter) report(p *processor, domain *Domain) {