mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Format
This commit is contained in:
parent
b8a5fa72d5
commit
9275a37a9f
1 changed files with 4 additions and 2 deletions
|
|
@ -514,7 +514,8 @@ nextAdvisory:
|
||||||
url: file.SHA512URL(),
|
url: file.SHA512URL(),
|
||||||
warn: true,
|
warn: true,
|
||||||
hashType: algSha512,
|
hashType: algSha512,
|
||||||
preferred: strings.EqualFold(string(d.cfg.PreferredHash), string(algSha512))})
|
preferred: strings.EqualFold(string(d.cfg.PreferredHash), string(algSha512)),
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
slog.Info("SHA512 not present")
|
slog.Info("SHA512 not present")
|
||||||
}
|
}
|
||||||
|
|
@ -523,7 +524,8 @@ nextAdvisory:
|
||||||
url: file.SHA256URL(),
|
url: file.SHA256URL(),
|
||||||
warn: true,
|
warn: true,
|
||||||
hashType: algSha256,
|
hashType: algSha256,
|
||||||
preferred: strings.EqualFold(string(d.cfg.PreferredHash), string(algSha256))})
|
preferred: strings.EqualFold(string(d.cfg.PreferredHash), string(algSha256)),
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
slog.Info("SHA256 not present")
|
slog.Info("SHA256 not present")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue