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:
parent
8e16650512
commit
deaf8a5722
2 changed files with 78 additions and 18 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue