Skip to content

Commit eb591a6

Browse files
committed
chore: fix compatibility suite
1 parent 73350dc commit eb591a6

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

compatibility-suite/tests/v3_steps/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ async fn the_verification_is_run(world: &mut V3MessageWorld) -> anyhow::Result<(
812812
if rustls::crypto::CryptoProvider::get_default().is_none() {
813813
let _ = rustls::crypto::ring::default_provider().install_default();
814814
}
815-
815+
816816
world.verification_results = verify_provider_async(
817817
world.provider_info.clone(),
818818
world.sources.clone(),

compatibility-suite/tests/v4_steps/http_provider.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ impl ProviderStateExecutor for DummyProviderStateExecutor {
257257

258258
#[when("the verification is run")]
259259
async fn the_verification_is_run(world: &mut V4World) -> anyhow::Result<()> {
260+
if rustls::crypto::CryptoProvider::get_default().is_none() {
261+
let _ = rustls::crypto::ring::default_provider().install_default();
262+
}
263+
260264
let options = VerificationOptions::<ProviderWorldRequestFilter>::default();
261265
world.verification_results = verify_provider_async(
262266
world.provider_info.clone(),

0 commit comments

Comments
 (0)