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:
Marcel 2024-08-27 22:34:02 +00:00
commit 5fddb29001

View File

@ -441,6 +441,7 @@ impl Client {
add_foreign_systems: impl Fn(&mut DispatcherBuilder) + Send + 'static,
#[cfg_attr(not(feature = "plugins"), allow(unused_variables))] config_dir: PathBuf,
) -> Result<Self, Error> {
let _ = rustls::crypto::ring::default_provider().install_default(); // needs to be initialized before usage
let network = Network::new(Pid::new(), &runtime);
init_stage_update(ClientInitStage::ConnectionEstablish);