mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
try adding more require non nulls
This commit is contained in:
parent
085fd6e1c8
commit
0aab69871f
@ -604,8 +604,9 @@ public class AttestationCertificateAuthorityTest {
|
||||
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31};
|
||||
ByteString blob = ProvisionUtils.tpm20MakeCredential(ekPub, akPub, nonce);
|
||||
|
||||
Path resources = Paths.get(Objects.requireNonNull(this.getClass().getResource(
|
||||
"/").toURI())).getParent().getParent().getParent().getParent();
|
||||
Path resources = Objects.requireNonNull(Paths.get(Objects.requireNonNull(this.getClass().getResource(
|
||||
"/").toURI()))
|
||||
.getParent().getParent().getParent().getParent());
|
||||
Path makeBlob = resources.resolve("src/test/resources/tpm2/test/make.blob");
|
||||
Files.write(makeBlob, blob.toByteArray());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user