Merge pull request #357 from dgarske/doc_fix

Fix issue with Doxygen generation in tpm2.h due to unnamed enum
pull/359/head
JacobBarthelmeh 2024-06-05 15:40:03 -06:00 committed by GitHub
commit 16ba07afef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -2976,6 +2976,7 @@ int wolfTPM2_ExportPublicKeyBuffer(WOLFTPM2_DEV* dev, WOLFTPM2_KEY* tpmKey,
}
}
#else
(void)out;
rc = NOT_COMPILED_IN;
#endif
}
@ -3008,6 +3009,7 @@ int wolfTPM2_ExportPublicKeyBuffer(WOLFTPM2_DEV* dev, WOLFTPM2_KEY* tpmKey,
}
}
#else
(void)out;
rc = NOT_COMPILED_IN;
#endif
}

View File

@ -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,