Crypto provider test fixes
This commit is contained in:
@@ -112,6 +112,9 @@ fn build_agent(allow_invalid_certs: bool) -> ureq::Agent {
|
||||
.http_status_as_error(false)
|
||||
.tls_config(
|
||||
TlsConfig::builder()
|
||||
.unversioned_rustls_crypto_provider(std::sync::Arc::new(
|
||||
rustls::crypto::aws_lc_rs::default_provider(),
|
||||
))
|
||||
.root_certs(RootCerts::PlatformVerifier)
|
||||
.disable_verification(allow_invalid_certs)
|
||||
.build(),
|
||||
|
||||
Reference in New Issue
Block a user