mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-16 17:00:02 +00:00
Set min TLS ver to 1.2 for https only mode
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
9b62ebdae1
commit
691bc18dd0
2 changed files with 8 additions and 1 deletions
src
|
@ -84,7 +84,10 @@ struct Options {
|
|||
#[clap(long)]
|
||||
no_cleanup: bool,
|
||||
|
||||
/// Enable https only mode
|
||||
/// Enable https only mode.
|
||||
///
|
||||
/// When https only mode is enabled, it will also set
|
||||
/// minimum TLS version to tls1_2.
|
||||
#[clap(long)]
|
||||
https_only_mode: bool,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue