mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'xMAC94x/fix_quinn_panic' into 'master'
with the new rustls 0.23 update, we had call a Cryptprovider, HostEZ notified... See merge request veloren/veloren!4499
This commit is contained in:
commit
5fddb29001
@ -441,6 +441,7 @@ impl Client {
|
|||||||
add_foreign_systems: impl Fn(&mut DispatcherBuilder) + Send + 'static,
|
add_foreign_systems: impl Fn(&mut DispatcherBuilder) + Send + 'static,
|
||||||
#[cfg_attr(not(feature = "plugins"), allow(unused_variables))] config_dir: PathBuf,
|
#[cfg_attr(not(feature = "plugins"), allow(unused_variables))] config_dir: PathBuf,
|
||||||
) -> Result<Self, Error> {
|
) -> Result<Self, Error> {
|
||||||
|
let _ = rustls::crypto::ring::default_provider().install_default(); // needs to be initialized before usage
|
||||||
let network = Network::new(Pid::new(), &runtime);
|
let network = Network::new(Pid::new(), &runtime);
|
||||||
|
|
||||||
init_stage_update(ClientInitStage::ConnectionEstablish);
|
init_stage_update(ClientInitStage::ConnectionEstablish);
|
||||||
|
Loading…
Reference in New Issue
Block a user