mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 17:21:28 +03:00
remove PUBLIC_RS_PUB_KE
This commit is contained in:
Submodule libs/hbb_common updated: 79f8ac2d68...97266d7c18
@@ -37,7 +37,7 @@ use hbb_common::{
|
|||||||
bail,
|
bail,
|
||||||
config::{
|
config::{
|
||||||
self, Config, LocalConfig, PeerConfig, PeerInfoSerde, Resolution, CONNECT_TIMEOUT,
|
self, Config, LocalConfig, PeerConfig, PeerInfoSerde, Resolution, CONNECT_TIMEOUT,
|
||||||
PUBLIC_RS_PUB_KEY, READ_TIMEOUT, RELAY_PORT, RENDEZVOUS_PORT, RENDEZVOUS_SERVERS,
|
READ_TIMEOUT, RELAY_PORT, RENDEZVOUS_PORT, RENDEZVOUS_SERVERS,
|
||||||
},
|
},
|
||||||
get_version_number, log,
|
get_version_number, log,
|
||||||
message_proto::{option_message::BoolOption, *},
|
message_proto::{option_message::BoolOption, *},
|
||||||
@@ -1475,7 +1475,7 @@ impl LoginConfigHandler {
|
|||||||
let server = server_key.next().unwrap_or_default();
|
let server = server_key.next().unwrap_or_default();
|
||||||
let args = server_key.next().unwrap_or_default();
|
let args = server_key.next().unwrap_or_default();
|
||||||
let key = if server == PUBLIC_SERVER {
|
let key = if server == PUBLIC_SERVER {
|
||||||
PUBLIC_RS_PUB_KEY.to_owned()
|
config::RS_PUB_KEY.to_owned()
|
||||||
} else {
|
} else {
|
||||||
let mut args_map: HashMap<String, &str> = HashMap::new();
|
let mut args_map: HashMap<String, &str> = HashMap::new();
|
||||||
for arg in args.split('&') {
|
for arg in args.split('&') {
|
||||||
|
|||||||
Reference in New Issue
Block a user