forked from pool/tpm2.0-tools
26 lines
836 B
Diff
26 lines
836 B
Diff
|
Index: tpm2.0-tools-1.1.0/src/tpm2_listpcrs.cpp
|
||
|
===================================================================
|
||
|
--- tpm2.0-tools-1.1.0.orig/src/tpm2_listpcrs.cpp
|
||
|
+++ tpm2.0-tools-1.1.0/src/tpm2_listpcrs.cpp
|
||
|
@@ -159,7 +159,7 @@ int readPcrValues()
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
-int preparePcrSelections_g(TPMI_ALG_HASH algId)
|
||
|
+void preparePcrSelections_g(TPMI_ALG_HASH algId)
|
||
|
{
|
||
|
UINT32 pcrId = 0;
|
||
|
|
||
|
Index: tpm2.0-tools-1.1.0/src/tpm2_rc_decode.c
|
||
|
===================================================================
|
||
|
--- tpm2.0-tools-1.1.0.orig/src/tpm2_rc_decode.c
|
||
|
+++ tpm2.0-tools-1.1.0/src/tpm2_rc_decode.c
|
||
|
@@ -246,6 +246,7 @@ print_tpm_rc_tpm_error_code (TPM_RC rc)
|
||
|
fprintf (stderr, "Unknown TPM_RC format\n");
|
||
|
return -1;
|
||
|
}
|
||
|
+ return 0;
|
||
|
}
|
||
|
/* Top level function to dump human readable data about TPM_RCs.
|
||
|
*/
|