Skip to content

Commit

Permalink
Merge pull request #257 from jpbland1/command-blocked-fix
Browse files Browse the repository at this point in the history
fix the TPM_E_COMMAND_BLOCKED macro to have the correct value
  • Loading branch information
dgarske committed Feb 14, 2023
2 parents 21027ef + 48ba4b6 commit ee2f766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolftpm/tpm2.h
Expand Up @@ -1667,7 +1667,7 @@ struct wolfTPM_winContext {
};
/* may be needed with msys */
#ifndef TPM_E_COMMAND_BLOCKED
#define TPM_E_COMMAND_BLOCKED (0x80284000)
#define TPM_E_COMMAND_BLOCKED (0x80280400)
#endif

#define WOLFTPM_IS_COMMAND_UNAVAILABLE(code) ((code) == (int)TPM_RC_COMMAND_CODE || (code) == (int)TPM_E_COMMAND_BLOCKED)
Expand Down

0 comments on commit ee2f766

Please sign in to comment.