Skip to main content

install_crypto_provider

Function install_crypto_provider 

Source
fn install_crypto_provider()
Expand description

Install the process-level rustls crypto provider, before anything can build a TLS client.

The graph carries both aws-lc-rs and ring, so rustls will not choose and the first handshake panics. install_default returns Err when a provider is already in place, which is the idempotent success case: a second boot entry or an embedding caller may run it again.