We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134bbc4 commit 3330365Copy full SHA for 3330365
src/builder.rs
@@ -1532,10 +1532,7 @@ fn optionally_install_rustls_cryptoprovider() {
1532
if rustls::crypto::CryptoProvider::get_default().is_none() {
1533
let res_ring = rustls::crypto::ring::default_provider().install_default();
1534
let res_aws = rustls::crypto::aws_lc_rs::default_provider().install_default();
1535
- debug_assert!(
1536
- res_ring.is_ok() ^ res_aws.is_ok(),
1537
- "We need to install exactly one CryptoProvider"
1538
- );
+ debug_assert!(res_ring.is_ok() || res_aws.is_ok(), "We need to install a CryptoProvider");
1539
}
1540
1541
// Refuse to startup without TLS support. Better to catch it now than even later at runtime.
0 commit comments