Skip to content

Commit

Permalink
Added a new error: TSS_RC_PROPERTY_ALREADY_SET
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSimon committed Apr 2, 2024
1 parent ed6fa56 commit 3a34cab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions utils/ibmtss/tsserror.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,5 @@
#define TSS_RC_NO_SESSION_SLOT 0x000b0090 /* TSS context has no session slot for handle */
#define TSS_RC_NO_OBJECTPUBLIC_SLOT 0x000b0091 /* TSS context has no object public slot for handle */
#define TSS_RC_NO_NVPUBLIC_SLOT 0x000b0092 /* TSS context has no NV public slot for handle */
#define TSS_RC_PROPERTY_ALREADY_SET 0x000b0093 /* A property has already been set and cannot be set again */
#endif
3 changes: 2 additions & 1 deletion utils/tssresponsecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ const RC_TABLE tssTable [] = {
{TSS_RC_FAIL, "TSS_RC_FAIL - TSS internal failure"},
{TSS_RC_NO_SESSION_SLOT, "TSS_RC_NO_SESSION_SLOT - TSS context has no session slot for handle"},
{TSS_RC_NO_OBJECTPUBLIC_SLOT, "TSS_RC_NO_OBJECTPUBLIC_SLOT - TSS context has no object public slot for handle"},
{TSS_RC_NO_NVPUBLIC_SLOT, "TSS_RC_NO_NVPUBLIC_SLOT -TSS context has no NV public slot for handle"},
{TSS_RC_NO_NVPUBLIC_SLOT, "TSS_RC_NO_NVPUBLIC_SLOT - TSS context has no NV public slot for handle"},
{TSS_RC_PROPERTY_ALREADY_SET, "TSS_RC_PROPERTY_ALREADY_SET - A property has already been set and cannot be set again"},
};

#ifdef TPM_WINDOWS
Expand Down

1 comment on commit 3a34cab

@kgoldman
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK.

Please sign in to comment.