Skip to content

Commit 03d1026

Browse files
committed
Update readme/example to rmeove webpki-roots mention
1 parent eaf033f commit 03d1026

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ and the [hyper HTTP library](https://github.com/hyperium/hyper).
88

99
[API Documentation](https://docs.rs/hyper-rustls/)
1010

11-
By default clients verify certificates using the `webpki-roots` crate, which includes
12-
the Mozilla root CAs.
11+
By default clients verify certificates using the `rustls-native-certs` crate, which uses
12+
the platform's root CAs.
1313

1414
# License
1515
hyper-rustls is distributed under the following three licenses:

examples/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn run_client() -> io::Result<()> {
3737
}
3838
};
3939

40-
// Second parameter is custom Root-CA store (optional, defaults to webpki).
40+
// Second parameter is custom Root-CA store (optional, defaults to native cert store).
4141
let mut ca = match env::args().nth(2) {
4242
Some(ref path) => {
4343
let f = fs::File::open(path)

0 commit comments

Comments
 (0)