Skip to content

Allow macOS 10.12 and 10.13 to work#194

Merged
complexspaces merged 1 commit into
rustls:mainfrom
madsmtm:macos-10-12
Sep 22, 2025
Merged

Allow macOS 10.12 and 10.13 to work#194
complexspaces merged 1 commit into
rustls:mainfrom
madsmtm:macos-10-12

Conversation

@madsmtm

@madsmtm madsmtm commented Sep 21, 2025

Copy link
Copy Markdown
Contributor

Since kornelski/rust-security-framework#243, security-framework now dynamically looks up the newer symbol SecTrustEvaluateWithError, and only if it's not available does it fall back to SecTrustEvaluate. This allows rustls-platform-verifier to support macOS 10.12 while still having good error messages on newer versions.

Fixes #188.

@madsmtm

madsmtm commented Sep 21, 2025

Copy link
Copy Markdown
Contributor Author

To be clear, the test suite does not pass on macOS 10.12, since the older function is being used there, while the test suite expects specific error message strings. I'll argue this is fine, the error messages are semi-internal anyhow, and the functionality is otherwise the same.

@complexspaces complexspaces left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This seems like the best path forward, all things considered.

Thank you for putting in the upstream work to make this a clean implementation!

@complexspaces
complexspaces merged commit 9c727a9 into rustls:main Sep 22, 2025
20 checks passed
@madsmtm
madsmtm deleted the macos-10-12 branch September 22, 2025 10:01
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.

Unsupported on macOS 10.12

3 participants