mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
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:
parent
75f2e0800a
commit
0f84c5d6f0
@ -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);
|
||||
|
@ -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| {
|
||||
|
Loading…
Reference in New Issue
Block a user