mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-06-21 00:23:11 +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:
@ -364,7 +364,7 @@ public abstract class AbstractAttestationCertificateAuthority
|
|||||||
try {
|
try {
|
||||||
SupplyChainPolicy scp = this.supplyChainValidationService.getPolicy();
|
SupplyChainPolicy scp = this.supplyChainValidationService.getPolicy();
|
||||||
if (scp != null) {
|
if (scp != null) {
|
||||||
this.validDays = Integer.getInteger(scp.getValidityDays());
|
this.validDays = Integer.parseInt(scp.getValidityDays());
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
LOG.error("Error");
|
LOG.error("Error");
|
||||||
|
Reference in New Issue
Block a user