Skip to content

Commit

Permalink
enable ring
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jun 19, 2024
1 parent 59fb26e commit e4907d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trace = []

[dependencies]
tokio = { version = "1", features = [ "io-util", "net", "rt", "sync" ] }
rustls = "0.23"
rustls = { version = "0.23", features = ["ring"] }
futures = "0.3"
socket2 = "0.5"

Expand Down
1 change: 1 addition & 0 deletions examples/ssl_trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ impl ServerCertVerifier for UnsafeVerifier {
pub async fn main() {
#[cfg(feature = "trace")]
rustls_tokio_stream::enable_byte_tracing();
rustls::crypto::ring::default_provider().install_default().unwrap();

let mut args = env::args();
_ = args.next();
Expand Down

0 comments on commit e4907d1

Please sign in to comment.