Crypto provider test fixes

This commit is contained in:
Maurus Decimus
2026-07-17 18:53:09 +02:00
parent f35c6fd90a
commit 9fc9178b67
11 changed files with 32 additions and 11 deletions
+10
View File
@@ -22,6 +22,16 @@ pub mod webdav;
pub use error::{ContainerError, ContainerResult};
use std::sync::Once;
static CRYPTO_INIT: Once = Once::new();
pub fn install_crypto_provider() {
CRYPTO_INIT.call_once(|| {
let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
});
}
#[derive(Debug, Clone)]
pub struct Endpoint {
pub host: String,