Skip to content

Commit ee2f766

Browse files
authored
Merge pull request #257 from jpbland1/command-blocked-fix
fix the TPM_E_COMMAND_BLOCKED macro to have the correct value
2 parents 21027ef + 48ba4b6 commit ee2f766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolftpm/tpm2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ struct wolfTPM_winContext {
16671667
};
16681668
/* may be needed with msys */
16691669
#ifndef TPM_E_COMMAND_BLOCKED
1670-
#define TPM_E_COMMAND_BLOCKED (0x80284000)
1670+
#define TPM_E_COMMAND_BLOCKED (0x80280400)
16711671
#endif
16721672

16731673
#define WOLFTPM_IS_COMMAND_UNAVAILABLE(code) ((code) == (int)TPM_RC_COMMAND_CODE || (code) == (int)TPM_E_COMMAND_BLOCKED)

0 commit comments

Comments
 (0)