commit | 242bf7a46d2ba5239d1782602d6472c949af3cd7 | [log] [tgz] |
---|---|---|
author | David Benjamin <[email protected]> | Sat Jun 24 20:40:36 2023 -0400 |
committer | David Benjamin <[email protected]> | Sat Jun 24 20:47:04 2023 -0400 |
tree | ab246d1c9038d92b7c03a6288d501bdbfefa56de | |
parent | b5c1e9793a41905a1ec5e2502d3970b35c995fe7 [diff] |
Add more workarounds for issues in the rust-openssl port This imports https://github.com/sfackler/rust-openssl/commit/5283d7c994541a99bab9b33f809bd662a5aa47a7 from upstream. This patch is necessary to avoid holding back BoringSSL updates in Android. This and other patches in this repository are all symptoms of a deeper problem: Android's rust-openssl port ignored BoringSSL's standard practice and ignored our OPENSSL_VERSION_NUMBER define. As a result, rust-openssl targets legacy APIs in BoringSSL by default and we must regularly work around this. The patch is already in an upstream rust-openssl release, but this crate does not appear to have been updated in Android for six months. Import the patch as a workaround for now. Test: treehugger Change-Id: I5e676adb97a32676da9df6140e6354004aa361a2
OpenSSL bindings for the Rust programming language.
The current supported release of openssl
is 0.10 and openssl-sys
is 0.9.
New major versions will be published at most once per year. After a new release, the previous major version will be partially supported with bug fixes for 3 months, after which support will be dropped entirely.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed under the terms of both the Apache License, Version 2.0 and the MIT license without any additional terms or conditions.