Skip to content

Commit

Permalink
apps: ensure client verifies peer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nnathan committed Sep 27, 2024
1 parent 2514d58 commit 2d783b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ pub fn connect(
e
))
})?;
config.verify_peer(true);
} else {
config.verify_peer(!args.no_verify);
}
Expand Down

0 comments on commit 2d783b4

Please sign in to comment.