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:
Cyrus 2020-12-07 07:44:48 -05:00
parent ec47aceedc
commit a3de35ed27

View File

@ -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");