Skip to content

Include rustls-ffi version parts in rustls.h header #557

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

Open
cpu opened this issue Apr 2, 2025 · 0 comments
Open

Include rustls-ffi version parts in rustls.h header #557

cpu opened this issue Apr 2, 2025 · 0 comments

Comments

@cpu
Copy link
Member

cpu commented Apr 2, 2025

Our API includes rustls_version() for getting a string at runtime with all of the version information relevant to the project (rustls-ffi version, rustls version, crypto backend versions, etc), but this is of little use when configuring downstream software that might want to determine if the librustls it has on hand is the right version for its needs.

At present downstream projects are left doing tricks like trying to detect the presence of symbols that only exist in certain versions. Instead, we should have #define's in our .h that can be checked mechanically.

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

No branches or pull requests

1 participant