-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
other: make webpki-roots optional for Linux.
This commit removes the Linux dependency on the `webpki-roots` crate. In its place a new `Verifier::with_extra_roots` constructor is provided. The new constructor allows the caller to provide a set of extra `OwnedTrustAnchors`s that will be loaded in addition to the platform provided trust anchors. Callers that expect to need to augment the platform roots can use this (with `webpki-roots` or otherwise) to achieve their goal. The wasm32 target continues to depend on `webpki-roots` since there is no platform provider for trust anchors.
- Loading branch information
Showing
2 changed files
with
45 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters