comment
This commit is contained in:
parent
34ce402203
commit
ae9b6edf7c
@ -318,6 +318,7 @@ impl Client {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// fall back to non-secure connection in case pk mismatch
|
// fall back to non-secure connection in case pk mismatch
|
||||||
|
// to-do: pop up a warning dialog to let user choose if continue
|
||||||
let mut msg_out = Message::new();
|
let mut msg_out = Message::new();
|
||||||
msg_out.set_public_key(PublicKey::new());
|
msg_out.set_public_key(PublicKey::new());
|
||||||
timeout(CONNECT_TIMEOUT, conn.send(&msg_out)).await??;
|
timeout(CONNECT_TIMEOUT, conn.send(&msg_out)).await??;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user