Skip to content

Commit

Permalink
Documentation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Feb 9, 2024
1 parent e078e15 commit f7665ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wolftpm/tpm2_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ WOLFTPM_API int wolfTPM2_GetCapabilities(WOLFTPM2_DEV* dev, WOLFTPM2_CAPS* caps)
\ingroup wolfTPM2_Wrappers
\brief Gets a list of handles
\return 0 or great: successful, count of handles
\return 0 or greater: successful, count of handles
\return TPM_RC_FAILURE: generic failure (check TPM IO communication and TPM return code)
\return BAD_FUNC_ARG: check the provided arguments
Expand All @@ -368,7 +368,7 @@ WOLFTPM_API int wolfTPM2_GetCapabilities(WOLFTPM2_DEV* dev, WOLFTPM2_CAPS* caps)
int persistent_handle_count;
// get count of persistent handles
persistent_handle_count = wolfTPM2_GetHandles(&dev, PERSISTENT_FIRST, NULL);
persistent_handle_count = wolfTPM2_GetHandles(PERSISTENT_FIRST, NULL);
\endcode
\sa wolfTPM2_GetCapabilities
Expand Down

0 comments on commit f7665ee

Please sign in to comment.