Skip to content

0.13.0

Compare
Choose a tag to compare
@cpu cpu released this 29 Mar 13:31
· 139 commits to main since this release

This release updates to Rustls 0.23.4 and continues to use *ring* as the only cryptographic provider.

Added

  • A new rustls_accepted_alert type is added. Calling rustls_accepted_alert_bytes on this type produces TLS data to write in the case where a server acceptor encountered an error accepting a client. The returned TLS data should be written to the connection before freeing the rustls_accepted_alert by calling rustls_accepted_alert_write_tls with a rustls_write_callback implementation.

Changed

  • The rustls_acceptor_accept and rustls_accepted_into_connection API functions now require an extra rustls_accepted_alert out parameter. This parameter will only be set when an error occurs accepting a client connection and can be used to write any generated alerts to the connection to signal the accept error to the peer.

  • The experimental cargo-c build support has been updated to use a vendored header file. This avoids the need for nightly rust or cbindgen when using this build method.

What's Changed

  • server: fix clippy::manual_unwrap_or_default finding by @cpu in #399
  • Prepare 0.13.0 release with Rustls 0.23 by @cpu in #389
  • Cargo: configure cargo-c to use vendored .h by @cpu in #398
  • proj: remove Makefile.Windows by @cpu in #396
  • 0.13 prep (cont'd) by @cpu in #400

Full Changelog: v0.12.1...v0.13.0