Skip to content

Commit

Permalink
Update common.rs
Browse files Browse the repository at this point in the history
直接返回 secure_tcp
  • Loading branch information
softxx authored Jan 9, 2025
1 parent be5037b commit 7c95412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ pub fn check_process(arg: &str, mut same_uid: bool) -> bool {
}

pub async fn secure_tcp(conn: &mut FramedStream, key: &str) -> ResultType<()> {
return Ok(());
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

0 comments on commit 7c95412

Please sign in to comment.