aboutsummaryrefslogtreecommitdiff
path: root/spdx/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'spdx/file.go')
-rw-r--r--spdx/file.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/spdx/file.go b/spdx/file.go
index bb3bcdd..1ec3202 100644
--- a/spdx/file.go
+++ b/spdx/file.go
@@ -105,11 +105,8 @@ type File2_2 struct {
// 4.4: File Checksum: may have keys for SHA1, SHA256 and/or MD5
// Cardinality: mandatory, one SHA1, others may be optionally provided
- // FileChecksumSHA1 string
- // FileChecksumSHA256 string
- // FileChecksumMD5 string
- FileChecksums map[ChecksumAlgorithm2_2]Checksum2_2
+ FileChecksums map[ChecksumAlgorithm]Checksum
// 4.5: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
// Cardinality: mandatory, one