File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ mod https {
9797/// happens here.  On non-unix platforms, ddcommon uses `ring` instead, which handles this 
9898/// at rustls initialization. TODO: Move to the more ergonomic LazyLock when MSRV is 1.80 
9999/// In fips mode we expect someone to have done this already. 
100- #[ cfg( any( not( feature = "fips" ) ,  test ) ) ]  
100+ #[ cfg( any( not( feature = "fips" ) ,  coverage ) ) ]  
101101    fn  ensure_crypto_provider_initialized ( )  { 
102102        use  std:: sync:: OnceLock ; 
103103        static  INIT_CRYPTO_PROVIDER :  OnceLock < ( ) >  = OnceLock :: new ( ) ; 
@@ -112,7 +112,7 @@ mod https {
112112
113113    // This this actually needs to be done by the user somewhere in their own main. 
114114    // This will only be active on Unix platforms 
115-     #[ cfg( all( feature = "fips" ,  not( test ) ) ) ]  
115+     #[ cfg( all( feature = "fips" ,  not( coverage ) ) ) ]  
116116    fn  ensure_crypto_provider_initialized ( )  { 
117117        compile_error ! ( "is this what we are trying to compile in coverage?" ) ; 
118118    } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments