diff --git a/Cargo.lock b/Cargo.lock index f1b8530689..104fd68c31 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2762,8 +2762,6 @@ dependencies = [ "lemmy_db_schema", "lemmy_routes", "lemmy_utils", - "openssl", - "openssl-probe", "opentelemetry 0.17.0", "opentelemetry-otlp 0.10.0", "pict-rs", diff --git a/Cargo.toml b/Cargo.toml index af34b33185..5f09c867f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,13 +108,11 @@ opentelemetry = { version = "0.17.0", features = ["rt-tokio"] } tracing-opentelemetry = { version = "0.17.2" } actix = "0.13" ts-rs = { version = "6.2", features = ["serde-compat", "format", "chrono-impl"] } -rustls = {version = "0.21.1"} +rustls = "0.21.1" rustls-native-certs = "0.6.2" futures-util = "0.3.21" tokio-postgres = "0.7.8" tokio-postgres-rustls = "0.10.0" -openssl-probe = "0.1.5" -openssl = "0.10.52" [dependencies] lemmy_api = { workspace = true } @@ -157,5 +155,3 @@ rustls-native-certs = { workspace = true } futures-util = { workspace = true } tokio-postgres = { workspace = true } tokio-postgres-rustls = { workspace = true } -openssl-probe = { workspace = true } -openssl = { workspace = true } diff --git a/src/main.rs b/src/main.rs index 70d87b0f21..79a813c522 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,6 @@ use lemmy_utils::{error::LemmyError, settings::SETTINGS}; #[actix_web::main] pub async fn main() -> Result<(), LemmyError> { init_logging(&SETTINGS.opentelemetry_url)?; - openssl_probe::init_ssl_cert_env_vars(); #[cfg(not(feature = "embed-pictrs"))] start_lemmy_server().await?; #[cfg(feature = "embed-pictrs")]