Uh oh!
There was an error while loading. Please reload this page.
Fix FEATURE_DISTRO_AGNOSTIC_SSL guards in ECC import/export#129332
Conversation
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security |
jkotas
commented
Jun 12, 2026
This is fixing build break in non-portable builds https://dev.azure.com/dnceng-public/public/_build/results?buildId=1460883&view=logs&j=2eda3965-9146-55d1-4226-c3d3f8432d8f&t=27bbe0a6-6c05-550a-bc6f-305cf5eac8aa&l=1044 |
There was a problem hiding this comment.
Pull request overview
Fixes native crypto (OpenSSL) compilation under non-portable builds with -Wundef by avoiding #if FEATURE_DISTRO_AGNOSTIC_SSL when the macro may be undefined, aligning these guards with the existing #ifdef FEATURE_DISTRO_AGNOSTIC_SSL pattern used elsewhere in the same component.
Changes:
- Replaced three
#if FEATURE_DISTRO_AGNOSTIC_SSLdirectives with#ifdef FEATURE_DISTRO_AGNOSTIC_SSLin ECC import/export code paths. - Prevented
-Wundef(and-Werror-promoted) build failures whenFEATURE_DISTRO_AGNOSTIC_SSLis not defined.
jkotas
commented
Jun 12, 2026
Duplicate of#129330 |
This fixes the native crypto build break caused by
#if FEATURE_DISTRO_AGNOSTIC_SSLin non-portable builds, where the macro is not defined and-Wundefturns the check into a hard error.