-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtls: default_tls_config() explicit *ring* choice
As mentioned in the comment, `ureq` wants to use `*ring*` by default for `default_tls_config()`. We can avoid a risk of a panic here and make that intention even more specific by using `rustls::ClientConfig::builder_with_provider()` instead of `rustls::ClientConfig::builder()` (which requires a clear process wide default is available, or panics).
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 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