File tree Expand file tree Collapse file tree
compatibility-suite/tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) ,
Original file line number Diff line number Diff line change @@ -257,6 +257,10 @@ impl ProviderStateExecutor for DummyProviderStateExecutor {
257257
258258#[ when( "the verification is run" ) ]
259259async 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 ( ) ,
You can’t perform that action at this time.
0 commit comments