mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-20 17:52:47 +00:00
Changed the compare to the hash value for the file instead of the filename.
This commit is contained in:
parent
bb6ec6cc4b
commit
b0835d1cf5
@ -285,8 +285,8 @@ public class ReferenceManifestDetailsPageController
|
||||
// going to have to pull the filename and grab that from the DB
|
||||
// to get the id to make the link
|
||||
for (SwidResource swidRes : resources) {
|
||||
if (support != null && swidRes.getName()
|
||||
.equalsIgnoreCase(support.getFileName())) {
|
||||
if (support != null && swidRes.getHashValue()
|
||||
.equalsIgnoreCase(support.getHexDecHash())) {
|
||||
RIM_VALIDATOR.validateSupportRimHash(support.getRimBytes(),
|
||||
swidRes.getHashValue());
|
||||
if (RIM_VALIDATOR.isSupportRimValid()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user