Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

remove PUBLIC_RS_PUB_KE

rustdesk5fc8e8c4284a
diff --git a/libs/hbb_common b/libs/hbb_common
index 79f8ac2d6..97266d7c1 160000
--- a/libs/hbb_common
+++ b/libs/hbb_common
@@ -1 +1 @@
-Subproject commit 79f8ac2d68e7b3304773c553f91f1de825bacdf5
+Subproject commit 97266d7c180feef8b43726ea6fcb4491e3fd8752
diff --git a/src/client.rs b/src/client.rs
index 6833ad34f..bdef9c7ed 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -37,7 +37,7 @@ use hbb_common::{
bail,
config::{
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,
message_proto::{option_message::BoolOption, *},
@@ -1475,7 +1475,7 @@ impl LoginConfigHandler {
let server = server_key.next().unwrap_or_default();
let args = server_key.next().unwrap_or_default();
let key = if server == PUBLIC_SERVER {
- PUBLIC_RS_PUB_KEY.to_owned()
+ config::RS_PUB_KEY.to_owned()
} else {
let mut args_map: HashMap<String, &str> = HashMap::new();
for arg in args.split('&') {