vtls/rustls: adapt to the updated rustls_version proto

Closes #7956
This commit is contained in:
Daniel Stenberg 2021-11-04 10:37:32 +01:00
parent 1fef5922da
commit 76d9e07c6b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 21 additions and 14 deletions

View file

@ -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.7.0 of rustls-ffi.
version of curl depends on version v0.8.0 of rustls-ffi.
# Building with rustls
@ -12,7 +12,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.7.0
% git clone https://github.com/rustls/rustls-ffi -b v0.8.0
% cd rustls-ffi
% make
% make DESTDIR=${HOME}/rustls-ffi-built/ install