Merge pull request #27628 from ddstreet/tpm2_header_cleanup

Tpm2 header cleanup
This commit is contained in:
Daan De Meyer
2023-05-31 23:06:14 +02:00
committed by GitHub
4 changed files with 46 additions and 90 deletions
-4
View File
@@ -341,10 +341,6 @@ static int run(int argc, char *argv[]) {
return EXIT_SUCCESS;
}
r = dlopen_tpm2();
if (r < 0)
return log_error_errno(r, "Failed to load TPM2 libraries: %m");
_cleanup_tpm2_context_ Tpm2Context *c = NULL;
r = tpm2_context_new(arg_tpm2_device, &c);
if (r < 0)