Skip to content

Conversation

@kornelski
Copy link
Collaborator

Addition of public APIs depending on mlkem.h made the whole library impossible to build with older include headers, even if the new Rust key encapsulation API isn't used. Similarly, mere existence of the new SslCredential requires symbols that may not be available in pre-compiled bssl libraries.

When the build is given a BORING_BSSL_PATH/BORING_BSSL_FIPS_PATH, it doesn't have choice over the upstream version.

I've made the sys crate tolerate some header files missing, to gracefully support a wide range of BoringSSL versions. It will gracefully skip generating Rust bindings for the unavailable APIs. The features can still be made mandatory by setting their feature flags.

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.

1 participant