switch to ring
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
use openworm::client::App;
|
||||
use openworm::{client::App, net::install_crypto_provider};
|
||||
|
||||
fn main() {
|
||||
quinn::rustls::crypto::aws_lc_rs::default_provider()
|
||||
.install_default()
|
||||
.unwrap();
|
||||
|
||||
install_crypto_provider();
|
||||
App::run();
|
||||
}
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
use openworm::server::run_server;
|
||||
use openworm::{net::install_crypto_provider, server::run_server};
|
||||
|
||||
fn main() {
|
||||
quinn::rustls::crypto::aws_lc_rs::default_provider()
|
||||
.install_default()
|
||||
.unwrap();
|
||||
|
||||
install_crypto_provider();
|
||||
run_server();
|
||||
}
|
||||
|
||||
@@ -27,3 +27,9 @@ pub struct Msg {
|
||||
pub content: String,
|
||||
pub user: String,
|
||||
}
|
||||
|
||||
pub fn install_crypto_provider() {
|
||||
quinn::rustls::crypto::ring::default_provider()
|
||||
.install_default()
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user