mirror of
https://github.com/curl/curl.git
synced 2026-08-01 19:40:32 +03:00
rustls: switch read_tls and write_tls to callbacks
And update to 0.6.0, including a rename from session to connection for many fields. Closes #7071
This commit is contained in:
parent
98770344b2
commit
a62e6435f4
6 changed files with 159 additions and 137 deletions
|
|
@ -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 [crustls C bindings](https://github.com/abetterinternet/crustls/). This
|
||||
version of curl depends on version v0.5.0 of crustls.
|
||||
version of curl depends on version v0.6.0 of crustls.
|
||||
|
||||
# Building with rustls
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ First, [install Rust](https://rustup.rs/).
|
|||
Next, check out, build, and install the appropriate version of crustls:
|
||||
|
||||
% cargo install cbindgen
|
||||
% git clone https://github.com/abetterinternet/crustls/ -b v0.5.0
|
||||
% git clone https://github.com/abetterinternet/crustls/ -b v0.6.0
|
||||
% cd crustls
|
||||
% make
|
||||
% make DESTDIR=${HOME}/crustls-built/ install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue