Skip to content

Commit

Permalink
Include BomRef within Component hash calculation
Browse files Browse the repository at this point in the history
Addresses CycloneDX#540

Signed-off-by: wkoot <[email protected]>
  • Loading branch information
wkoot authored Sep 11, 2024
1 parent 111cadc commit bc426e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclonedx/model/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ def __hash__(self) -> int:
self.mime_type, self.supplier, self.author, self.publisher,
self.description, self.scope, tuple(self.hashes),
tuple(self.licenses), self.copyright, self.cpe,
self.purl,
self.purl, self.bom_ref,
self.swid, self.pedigree,
tuple(self.external_references), tuple(self.properties),
tuple(self.components), self.evidence, self.release_notes, self.modified,
Expand Down

0 comments on commit bc426e2

Please sign in to comment.