Revert "mobile wss use rustls_platform_verifier"

This commit is contained in:
RustDesk
2025-10-30 10:27:55 +08:00
committed by GitHub
parent b166534807
commit 84a13ad7f3
5 changed files with 7 additions and 77 deletions

View File

@@ -5,7 +5,7 @@ use std::{
net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
ops::{Deref, DerefMut},
path::{Path, PathBuf},
sync::{atomic::AtomicBool, Mutex, RwLock},
sync::{Mutex, RwLock},
time::{Duration, Instant, SystemTime},
};
@@ -70,7 +70,6 @@ lazy_static::lazy_static! {
pub static ref OVERWRITE_LOCAL_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
pub static ref HARD_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
pub static ref BUILTIN_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
pub static ref RUSTLS_PLATFORM_VERIFIER_INITIALIZED: AtomicBool = AtomicBool::new(false);
}
lazy_static::lazy_static! {