mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
Typo
This commit is contained in:
parent
e8415ded27
commit
7ba391c75a
@ -17,7 +17,6 @@ import java.util.UUID;
|
||||
public interface ReferenceManifestRepository extends JpaRepository<ReferenceManifest, UUID> {
|
||||
|
||||
ReferenceManifest findByHexDecHash(String hexDecHash);
|
||||
ReferenceManifest findByEventLogHash(String rimType, String eventLogHash);
|
||||
ReferenceManifest findByBase64Hash(String base64Hash);
|
||||
ReferenceManifest findByHexDecHashAndRimType(String hexDecHash, String rimType);
|
||||
@Query(value = "SELECT * FROM ReferenceManifest WHERE platformManufacturer = ?1 AND platformModel = ?2 AND rimType = 'Base'", nativeQuery = true)
|
||||
|
@ -321,7 +321,7 @@ public class SupplyChainValidationService {
|
||||
deviceName));
|
||||
} else {
|
||||
ReferenceManifest manifest = referenceManifestRepository
|
||||
.findByEventLogHash(sRim.getRimType(), sRim.getEventLogHash());
|
||||
.findByHexDecHashAndRimType(sRim.getEventLogHash(), sRim.getRimType());
|
||||
if (manifest instanceof EventLogMeasurements) {
|
||||
eventLog = (EventLogMeasurements)manifest;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user