mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
ef305de95c
The keyword specifies how option works when specified multiple times: - single: the last provided value replaces the earlier ones - append: it supports being provided multiple times - boolean: on/off values - mutex: flag-like option that disable anoter flag The 'gen.pl' script then outputs the proper and unified language for each option's multi-use behavior in the generated man page. The multi: header is requires in each .d file and will cause build error if missing or set to an unknown value. Closes #9759
17 lines
533 B
Makefile
17 lines
533 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: tlsv1.2
|
|
Help: Use TLSv1.2 or greater
|
|
Protocols: TLS
|
|
Added: 7.34.0
|
|
Category: tls
|
|
Example: --tlsv1.2 $URL
|
|
See-also: tlsv1.3 tls-max
|
|
Multi: mutex
|
|
---
|
|
Forces curl to use TLS version 1.2 or later when connecting to a remote TLS server.
|
|
|
|
In old versions of curl this option was documented to allow _only_ TLS 1.2.
|
|
That behavior was inconsistent depending on the TLS library. Use --tls-max if
|
|
you want to set a maximum TLS version.
|