Skip to content

Fix OpenSSL 4 build on macOS 26 Tahoe#653

Merged
mtrojnar merged 4 commits intoOpenSC:masterfrom
olszomal:macos26
Apr 28, 2026
Merged

Fix OpenSSL 4 build on macOS 26 Tahoe#653
mtrojnar merged 4 commits intoOpenSC:masterfrom
olszomal:macos26

Conversation

@olszomal
Copy link
Copy Markdown
Collaborator

This PR fixes build and runtime issues when using libp11 with OpenSSL 4, particularly on macOS 26. It resolves undefined ENGINE symbols and export-related linker errors.

Pull Request Type

  • Bug fix
  • New feature
  • Code style / formatting / renaming
  • Refactoring (no functional or API changes)
  • Build / CI related changes
  • Documentation
  • Other (please describe):

Related Issue

Fix #631

Scope of Changes

  • Disable ENGINE for OpenSSL 4
  • Make PKCS11_pkey_meths export conditional
  • Improve pkcs11-tool detection in tests
  • Update CI to use macos-26 for OpenSSL-4 job

Testing

  • Existing tests
  • New tests added
  • Manual testing

Additional Notes

License Declaration

  • I hereby agree to license my contribution under the project's license.

@mtrojnar mtrojnar merged commit da3bd79 into OpenSC:master Apr 28, 2026
12 checks passed
@mtrojnar
Copy link
Copy Markdown
Member

These were useful fixes. I decided to merge them, without waiting for further testing results. Also, our CI builds it on macOS 26 Tahoe.

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.

Fails to build on OpenSSL-4.x-dev

2 participants