Skip to content

Fix CI failures from upstream dependency drift#180

Open
LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
LinuxJedi:CI-fixes
Open

Fix CI failures from upstream dependency drift#180
LinuxJedi wants to merge 1 commit intowolfSSL:masterfrom
LinuxJedi:CI-fixes

Conversation

@LinuxJedi
Copy link
Copy Markdown
Member

Add tpm2_crypto.c and tpm2_util.c to the wolftpm Visual Studio project. Recent wolftpm changes moved TPM2_KDFa_ex, TPM2_KDFe_ex, TPM2_AesCfbEncrypt, TPM2_HmacCompute, TPM2_HashCompute into tpm2_crypto.c and TPM2_GetHashDigestSize, TPM2_GetHashType, TPM2_ConstantCompare, TPM2_ForceZero, TPM2_PrintBin into tpm2_util.c, which caused unresolved external symbol errors on the Windows build.

Pass --disable-anon to the wolfSSL configure step in the TPM 2.0 store test workflow. wolfSSL 5.9.1 added a settings.h check that rejects HAVE_ANON without DH, and this workflow builds wolfPKCS11 with --disable-dh.

Add tpm2_crypto.c and tpm2_util.c to the wolftpm Visual Studio
project. Recent wolftpm changes moved TPM2_KDFa_ex, TPM2_KDFe_ex,
TPM2_AesCfbEncrypt, TPM2_HmacCompute, TPM2_HashCompute into
tpm2_crypto.c and TPM2_GetHashDigestSize, TPM2_GetHashType,
TPM2_ConstantCompare, TPM2_ForceZero, TPM2_PrintBin into
tpm2_util.c, which caused unresolved external symbol errors on
the Windows build.

Pass --disable-anon to the wolfSSL configure step in the TPM 2.0
store test workflow. wolfSSL 5.9.1 added a settings.h check that
rejects HAVE_ANON without DH, and this workflow builds wolfPKCS11
with --disable-dh.
Copilot AI review requested due to automatic review settings April 20, 2026 13:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes CI/build breakages caused by upstream wolfTPM and wolfSSL configuration changes, specifically addressing Windows Visual Studio link failures and a Linux workflow configuration incompatibility.

Changes:

  • Add newly-split wolfTPM source files (tpm2_crypto.c, tpm2_util.c) to the Visual Studio wolftpm.vcxproj to resolve missing symbols.
  • Update the TPM 2.0 store GitHub Actions workflow to configure wolfSSL with --disable-anon to avoid the new HAVE_ANON+no-DH configuration rejection.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
IDE/VisualStudio/wolftpm.vcxproj Adds the missing wolfTPM compilation units now required by upstream symbol layout.
.github/workflows/tpm2-store-test.yml Adjusts wolfSSL configure flags to remain compatible with --disable-dh in downstream builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants