From: Daniel McCarney Date: Sat, 30 Mar 2024 18:18:45 +0000 (-0400) Subject: deps: update librustls 0.12.0 -> 0.13.0 X-Git-Tag: curl-8_8_0~335 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b1a88e2c0e9c469ffb451a73b7d49b97f9684b3;p=thirdparty%2Fcurl.git deps: update librustls 0.12.0 -> 0.13.0 This commit updates the optional rustls-ffi librustls dependency from 0.12.0 to 0.13.0. This version is based on the latest available rustls release (0.23.4). The breaking API changes from 0.12.0 to 0.13.0 are in API surface unused by curl, so this is an in-place update without any code changes. The `RUSTLS.md` documentation is updated to reflect the new version in use, and to clarify that `cbindgen` isn't required to build `librustls` - it's only used by developers to update the vendored `rustls.h` header file maintained upstream. Closes #13238 --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b033340842..d70bd1c608 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -48,7 +48,7 @@ env: msh3-version: v0.6.0 openssl3-version: openssl-3.1.3 quictls-version: 3.1.4+quic - rustls-version: v0.12.0 + rustls-version: v0.13.0 jobs: autotools: diff --git a/docs/RUSTLS.md b/docs/RUSTLS.md index 3515e16662..6c270bfa4b 100644 --- a/docs/RUSTLS.md +++ b/docs/RUSTLS.md @@ -3,7 +3,7 @@ [Rustls is a TLS backend written in Rust](https://docs.rs/rustls/). Curl can be built to use it as an alternative to OpenSSL or other TLS backends. We use the [rustls-ffi C bindings](https://github.com/rustls/rustls-ffi/). This -version of curl depends on version v0.12.0 of rustls-ffi. +version of curl depends on version v0.13.0 of rustls-ffi. # Building with rustls @@ -11,8 +11,7 @@ First, [install Rust](https://rustup.rs/). Next, check out, build, and install the appropriate version of rustls-ffi: - % cargo install cbindgen - % git clone https://github.com/rustls/rustls-ffi -b v0.12.0 + % git clone https://github.com/rustls/rustls-ffi -b v0.13.0 % cd rustls-ffi % make % make DESTDIR=${HOME}/rustls-ffi-built/ install