Skip to content

Commit

Permalink
For example of using auto-generated certificates with a TLS connectio…
Browse files Browse the repository at this point in the history
…n, replace nativetls with rustls
  • Loading branch information
iamjpotts committed Aug 25, 2023
1 parent 1d8dbfe commit 502f04c
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 250 deletions.
218 changes: 14 additions & 204 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 @@ -33,10 +33,10 @@ default = ["pem"]
features = ["x509-parser"]

[dev-dependencies]
native-tls = "0.2"
openssl = "0.10"
pipe = { version = "0.4", features = ["bidirectional"] }
x509-parser = { version = "0.15", features = ["verify"] }
rustls = "0.21"
rustls-webpki = { version = "0.101.0", features = ["std"] }
rand = "0.8"
rsa = "0.9"
Expand Down
Loading

0 comments on commit 502f04c

Please sign in to comment.