]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: update rustls dependency to 0.9.2
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>
Fri, 17 Feb 2023 20:59:44 +0000 (12:59 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Feb 2023 08:53:58 +0000 (09:53 +0100)
This allows re-enabling test 312 for the rustls backend.

Closes #10553

.github/workflows/linux.yml
docs/RUSTLS.md
tests/data/DISABLED

index bfa6bba26e2e62b91d9673efba33af4effdfaf29..aa894a29a45dd8080a4e29e0ba28ed527c6ec127 100644 (file)
@@ -223,7 +223,7 @@ jobs:
 
     - if: ${{ contains(matrix.build.install_steps, 'rustls') }}
       run: |
-        git clone --depth=1 -b v0.9.1 --recursive https://github.com/rustls/rustls-ffi.git
+        git clone --depth=1 -b v0.9.2 --recursive https://github.com/rustls/rustls-ffi.git
         cd rustls-ffi
         make DESTDIR=$HOME/rustls install
       name: 'install rustls'
index a422cb41b3287b06fdee4ea5871898c2c1ae317a..fec0c266adcee5bcf676d93820e89206484e2236 100644 (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.8.2 of rustls-ffi.
+version of curl depends on version v0.9.2 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.8.2
+    % git clone https://github.com/rustls/rustls-ffi -b v0.9.2
     % cd rustls-ffi
     % make
     % make DESTDIR=${HOME}/rustls-ffi-built/ install
index b7f02a2163e2dda0197ab9736afcdc8515e8669c..6edc0b4451e2c2a609b31a2f92495453406254aa 100644 (file)
 2305
 %endif
 2043
-# Tests that are disabled here for rustls are SUPPOSED to work
+# The CRL test (313) doesn't work with rustls because rustls doesn't support
+# CRLs.
+# Tests that rely on connecting to an IP address over TLS don't work because
+# rustls doesn't support IP address certificates yet. That's the 400 series of
+# tests listed here, plus 1112 and 1272
 %if rustls
-312
 313
 400
 401