]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CIPHERS.md: fix the example that uses only TLS 1.3
authorJay Satiro <raysatiro@yahoo.com>
Thu, 21 May 2026 18:00:09 +0000 (14:00 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 22 May 2026 15:18:02 +0000 (11:18 -0400)
- Add --tls-max 1.3 to set the maximum version to TLS 1.3.

- Remove Schannel because it doesn't support TLS 1.3 ciphers since
  6238888.

Prior to this change the example set the minimum version to TLS 1.3 but
not the maximum version to TLS 1.3.

Ref: https://github.com/curl/curl/issues/21702

Closes https://github.com/curl/curl/pull/21719

docs/CIPHERS.md

index e2c3e89956cb7cb73f68ade64cb6a7fb5a0267ed..f0ece576e3bf2ad8a0512a3b242419d256dc0d98 100644 (file)
@@ -188,12 +188,13 @@ mbedTLS and wolfSSL.
 ```sh
 curl \
   --tlsv1.3 \
+  --tls-max 1.3 \
   --tls13-ciphers TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256 \
   https://example.com/
 ```
 
 Restrict to only TLS 1.3 with `aes128-gcm` and `chacha20` ciphers. Works with
-OpenSSL, LibreSSL, mbedTLS, wolfSSL and Schannel.
+OpenSSL, LibreSSL, mbedTLS and wolfSSL.
 
 ```sh
 curl \