Skip to content

Remove some Apple handling from OpenSSL native shim#123581

Merged
vcsjones merged 4 commits intodotnet:mainfrom
vcsjones:ossl-shim-apple-cleanup
Jan 28, 2026
Merged

Remove some Apple handling from OpenSSL native shim#123581
vcsjones merged 4 commits intodotnet:mainfrom
vcsjones:ossl-shim-apple-cleanup

Conversation

@vcsjones
Copy link
Member

Remove some Apple handling from opensslshim.c since macOS no longer builds System.Security.Cryptography.Native.OpenSsl.

…uilds System.Security.Cryptography.Native.OpenSsl
@dotnet-policy-service
Copy link
Contributor

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

Copy link
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 removes Apple-specific conditional compilation code from opensslshim.c since macOS no longer builds the OpenSSL-based System.Security.Cryptography.Native library. Instead, macOS uses System.Security.Cryptography.Native.Apple (as confirmed by the CMake configuration in src/native/libs/CMakeLists.txt).

Changes:

  • Removed __APPLE__ preprocessor conditionals and Apple-specific library naming (DYLIBNAME_PREFIX/DYLIBNAME_SUFFIX)
  • Simplified code to only handle Linux-style library naming (libssl.so.*)

@jkotas
Copy link
Member

jkotas commented Jan 28, 2026

/ba-g infrastructure timeouts

@vcsjones vcsjones merged commit 8dbe7a8 into dotnet:main Jan 28, 2026
100 of 105 checks passed
@vcsjones vcsjones deleted the ossl-shim-apple-cleanup branch January 28, 2026 14:21
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.

3 participants

Comments