mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
Update spdx22json to only take uppercase checksum algorithm (#946)
This commit is contained in:
parent
15e45a8ce1
commit
b46d044d7e
@ -67,7 +67,7 @@ func toPackages(catalog *pkg.Catalog, relationships []artifact.Relationship) []m
|
||||
filesAnalyzed = true
|
||||
for _, digest := range javaMetadata.ArchiveDigests {
|
||||
checksums = append(checksums, model.Checksum{
|
||||
Algorithm: digest.Algorithm,
|
||||
Algorithm: strings.ToUpper(digest.Algorithm),
|
||||
ChecksumValue: digest.Value,
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user