]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls/rustls: rustls-ffi 0.14.0 update
authorDaniel McCarney <daniel@binaryparadox.net>
Thu, 12 Sep 2024 16:18:26 +0000 (12:18 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Sep 2024 12:11:49 +0000 (14:11 +0200)
commitf09adc3ad16b428e9af10ce04e833ddf0885aa12
treee3e1cf66781e84139f505c2d878fd6ec3f6e0203
parent65b8d8946304c016e7fb91315605910d93352bdd
vtls/rustls: rustls-ffi 0.14.0 update

* Documentation is updated to describe new required version, and to link
  to the upstream README about cryptography providers.
* GitHub workflow is updated to fetch 0.14.0.
* Breaking changes in`lib/vtls/rustls.c` are addressed:
  * The `rustls_client_config_builder_build()` function now uses an out
    parameter for the built config instead of returning it directly.
    This allows the building process to fail if the default crypto
    provider state isn't appropriate, or another error condition occurs.
  * Default ciphersuites are collected using renamed functions named to
    make it clear the ciphersuites are associated with the default
    crypto provider.
  * Customization of ciphersuites is now done via
    a `rustls_crypto_provider_builder` used to instantiate a
    `rustls_crypto_provider`. The customized provider can then can be
    used with `rustls_client_config_builder_new_custom` in place of
    providing ciphersuites directly.
  * `rustls_connection_get_negotiated_ciphersuite()` now returns the
    ciphersuite ID directly.

Closes #14889
.github/workflows/linux.yml
docs/RUSTLS.md
lib/vtls/rustls.c