mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-20 17:52:47 +00:00
The issue with the tpm 1.2 system test failing had to do with the string to integer conversion using getInteger instead of parseInt.
This commit is contained in:
parent
ec47aceedc
commit
a3de35ed27
@ -364,7 +364,7 @@ public abstract class AbstractAttestationCertificateAuthority
|
||||
try {
|
||||
SupplyChainPolicy scp = this.supplyChainValidationService.getPolicy();
|
||||
if (scp != null) {
|
||||
this.validDays = Integer.getInteger(scp.getValidityDays());
|
||||
this.validDays = Integer.parseInt(scp.getValidityDays());
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
LOG.error("Error");
|
||||
|
Loading…
x
Reference in New Issue
Block a user