Skip to content

Commit

Permalink
Fix issue with Doxygen generation of wolfTPM due to doxybook2 crashin…
Browse files Browse the repository at this point in the history
…g on unnamed enum.
  • Loading branch information
dgarske committed Jun 5, 2024
1 parent d01a46f commit b33e6b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/tpm2_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2976,6 +2976,7 @@ int wolfTPM2_ExportPublicKeyBuffer(WOLFTPM2_DEV* dev, WOLFTPM2_KEY* tpmKey,
}
}
#else
(void)out;
rc = NOT_COMPILED_IN;
#endif
}
Expand Down Expand Up @@ -3008,6 +3009,7 @@ int wolfTPM2_ExportPublicKeyBuffer(WOLFTPM2_DEV* dev, WOLFTPM2_KEY* tpmKey,
}
}
#else
(void)out;
rc = NOT_COMPILED_IN;
#endif
}
Expand Down
3 changes: 2 additions & 1 deletion wolftpm/tpm2.h
Original file line number Diff line number Diff line change
Expand Up @@ -2802,7 +2802,8 @@ WOLFTPM_API TPM_RC TPM2_NV_Certify(NV_Certify_In* in, NV_Certify_Out* out);
} SetCommandSet_In;
WOLFTPM_API int TPM2_SetCommandSet(SetCommandSet_In* in);

enum {
/* Mode bit-masks for STMicro ST33 */
enum TPM_MODE_Vendor_Mask{
TPMLib_2 = 0x01,
TPMFips = 0x02,
TPMLowPowerOff = 0x00,
Expand Down

0 comments on commit b33e6b3

Please sign in to comment.