mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-09 20:31:27 +00:00
The rim hash validation icon is coming up red when both base and support RIMs are loaded. This fixes that issue.
This commit is contained in:
parent
3f9c6c9d44
commit
bb6ec6cc4b
@ -286,7 +286,7 @@ public class ReferenceManifestDetailsPageController
|
||||
// to get the id to make the link
|
||||
for (SwidResource swidRes : resources) {
|
||||
if (support != null && swidRes.getName()
|
||||
.equals(support.getFileName())) {
|
||||
.equalsIgnoreCase(support.getFileName())) {
|
||||
RIM_VALIDATOR.validateSupportRimHash(support.getRimBytes(),
|
||||
swidRes.getHashValue());
|
||||
if (RIM_VALIDATOR.isSupportRimValid()) {
|
||||
|
@ -84,7 +84,7 @@ public final class JsonUtils {
|
||||
JsonObject jsonObject = new JsonObject();
|
||||
|
||||
if (Files.notExists(jsonPath)) {
|
||||
LOGGER.error(String.format("No file found at %s.", jsonPath.toString()));
|
||||
LOGGER.warn(String.format("No file found at %s.", jsonPath.toString()));
|
||||
} else {
|
||||
try {
|
||||
InputStream inputStream = new FileInputStream(jsonPath.toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user