Skip to content

Fix linux-armel build break in pal_evp_pkey_ml_dsa.c #115791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

elinor-fung
Copy link
Member

Build break in linux-armel legs from #115569

Copy link
Contributor

@Copilot 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 a build break for the linux-armel leg by initializing new output parameters in the DSA key processing function.

  • Added initialization for *hasSeed and *hasSecretKey flags.

@@ -44,6 +44,8 @@ int32_t CryptoNative_MLDsaGetPalId(const EVP_PKEY* pKey, int32_t* mldsaId, int32

(void)pKey;
*mldsaId = PalMLDsaId_Unknown;
*hasSeed = 0;
Copy link
Preview

Copilot AI May 20, 2025

Choose a reason for hiding this comment

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

Consider adding a brief comment explaining the initialization of *hasSeed and *hasSecretKey to 0, so future maintainers understand that these flags default to false and why this behavior is expected.

Copilot uses AI. Check for mistakes.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

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

Successfully merging this pull request may close these issues.

1 participant