remove CryptProvider code again, it seems to be nolonger possible when axum uses hyper-rustls with native-tokio and ring feature active

This commit is contained in:
Marcel Märtens 2024-06-04 14:43:25 +02:00
parent 75f2e0800a
commit 0f84c5d6f0
2 changed files with 0 additions and 2 deletions

View File

@ -442,7 +442,6 @@ impl Client {
add_foreign_systems: impl Fn(&mut DispatcherBuilder) + Send + 'static,
config_dir: PathBuf,
) -> Result<Self, Error> {
let _ = rustls::crypto::ring::default_provider().install_default();
let network = Network::new(Pid::new(), &runtime);
init_stage_update(ClientInitStage::ConnectionEstablish);

View File

@ -47,7 +47,6 @@ pub struct LoginProvider {
impl LoginProvider {
pub fn new(auth_addr: Option<String>, runtime: Arc<Runtime>) -> Self {
let _ = rustls::crypto::ring::default_provider().install_default();
tracing::trace!(?auth_addr, "Starting LoginProvider");
let auth_server = auth_addr.map(|addr| {