Skip to content

Commit

Permalink
Update common.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw414522569 authored Dec 12, 2024
1 parent b24b381 commit b5f54b9
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 b5f54b9

Please sign in to comment.