Skip to content

Commit

Permalink
Disabled secure_tcp
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarschall committed Mar 25, 2024
1 parent 255d64e commit abaf953
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Changes
- Change some German texts for HickelSOFT ([Source file: de.rs](https://github.com/hickelsoft/rustdesk/blob/master/src/lang/de.rs))
- Removed "sad smiley" for empty peers list, since it confuses customers ([Source file: peers_view.dart](https://github.com/hickelsoft/rustdesk/blob/master/flutter/lib/common/widgets/peers_view.dart), [Commit](https://github.com/hickelsoft/rustdesk/commit/09a23f1cef26cf4cc72430bced720af3e7321aaf))
- Added "rebase" command to GitHub Desktop UI ([Source file: .gitconfig](https://github.com/hickelsoft/rustdesk/blob/master/.gitconfig))
- Disabled `secure_tcp` in common.rs, because our server does not support `KeyExchange`.
2 changes: 2 additions & 0 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@ pub fn check_process(arg: &str, same_uid: bool) -> bool {
}

pub async fn secure_tcp(conn: &mut FramedStream, key: &str) -> ResultType<()> {
/*
let rs_pk = get_rs_pk(key);
let Some(rs_pk) = rs_pk else {
bail!("Handshake failed: invalid public key from rendezvous server");
Expand Down Expand Up @@ -1310,6 +1311,7 @@ pub async fn secure_tcp(conn: &mut FramedStream, key: &str) -> ResultType<()> {
}
_ => {}
}
*/
Ok(())
}

Expand Down

0 comments on commit abaf953

Please sign in to comment.