RS_PUB_KEY

This commit is contained in:
rustdesk 2022-07-27 00:39:02 +08:00
parent 06ce3661f4
commit a71fa3f7ac
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ pub const RENDEZVOUS_SERVERS: &'static [&'static str] = &[
"rs-sg.rustdesk.com",
"rs-cn.rustdesk.com",
];
pub const RS_PUB_KEY: &'static str = "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=";
pub const RENDEZVOUS_PORT: i32 = 21116;
pub const RELAY_PORT: i32 = 21117;

View File

@ -371,7 +371,7 @@ impl Client {
conn: &mut Stream,
) -> ResultType<()> {
let rs_pk = get_rs_pk(if key.is_empty() {
"OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw="
hbb_common::config::RS_PUB_KEY
} else {
key
});