|
|
86693f |
From fbbbf6a3daa7949cfb0fbd9731a80649ce717e6d Mon Sep 17 00:00:00 2001
|
|
|
86693f |
From: Daniel Stenberg <daniel@haxx.se>
|
|
|
86693f |
Date: Fri, 7 Feb 2014 20:28:53 +0100
|
|
|
86693f |
Subject: [PATCH 1/2] --help: add missing --tlsv1.x options
|
|
|
86693f |
|
|
|
86693f |
[upstream commit 67d14ab98f8b819ee6f5e6a4a2770d311c6bf13b]
|
|
|
86693f |
|
|
|
86693f |
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
|
86693f |
---
|
|
|
86693f |
src/tool_help.c | 5 ++++-
|
|
|
86693f |
1 files changed, 4 insertions(+), 1 deletions(-)
|
|
|
86693f |
|
|
|
86693f |
diff --git a/src/tool_help.c b/src/tool_help.c
|
|
|
86693f |
index 124f640..f7cd618 100644
|
|
|
86693f |
--- a/src/tool_help.c
|
|
|
86693f |
+++ b/src/tool_help.c
|
|
|
86693f |
@@ -199,7 +199,10 @@ static const char *const helptext[] = {
|
|
|
86693f |
" -t, --telnet-option OPT=VAL Set telnet option",
|
|
|
86693f |
" --tftp-blksize VALUE Set TFTP BLKSIZE option (must be >512)",
|
|
|
86693f |
" -z, --time-cond TIME Transfer based on a time condition",
|
|
|
86693f |
- " -1, --tlsv1 Use TLSv1 (SSL)",
|
|
|
86693f |
+ " -1, --tlsv1 Use => TLSv1 (SSL)",
|
|
|
86693f |
+ " --tlsv1.0 Use TLSv1.0 (SSL)",
|
|
|
86693f |
+ " --tlsv1.1 Use TLSv1.1 (SSL)",
|
|
|
86693f |
+ " --tlsv1.2 Use TLSv1.2 (SSL)",
|
|
|
86693f |
" --trace FILE Write a debug trace to the given file",
|
|
|
86693f |
" --trace-ascii FILE Like --trace but without the hex output",
|
|
|
86693f |
" --trace-time Add time stamps to trace/verbose output",
|
|
|
86693f |
--
|
|
|
86693f |
1.7.1
|
|
|
86693f |
|
|
|
86693f |
|
|
|
86693f |
From cc28ee70fcc2222646eef4f2b2ab3cc207c6112a Mon Sep 17 00:00:00 2001
|
|
|
86693f |
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
86693f |
Date: Mon, 17 Feb 2014 16:55:10 +0100
|
|
|
86693f |
Subject: [PATCH 2/2] curl.1: update the description of --tlsv1
|
|
|
86693f |
|
|
|
86693f |
... and mention the --tlsv1.[0-2] options in the --tslv1 entry
|
|
|
86693f |
|
|
|
86693f |
Reported-by: Hubert Kario
|
|
|
86693f |
|
|
|
86693f |
[upstream commit 03c288202ed159a2a9e953f59e58f69a86eda79b]
|
|
|
86693f |
|
|
|
86693f |
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
|
86693f |
---
|
|
|
86693f |
docs/curl.1 | 5 ++++-
|
|
|
86693f |
1 files changed, 4 insertions(+), 1 deletions(-)
|
|
|
86693f |
|
|
|
86693f |
diff --git a/docs/curl.1 b/docs/curl.1
|
|
|
86693f |
index 53b378c..7f3571b 100644
|
|
|
86693f |
--- a/docs/curl.1
|
|
|
86693f |
+++ b/docs/curl.1
|
|
|
86693f |
@@ -117,7 +117,10 @@ more informational, meter.
|
|
|
86693f |
internally preferred: HTTP 1.1.
|
|
|
86693f |
.IP "-1, --tlsv1"
|
|
|
86693f |
(SSL)
|
|
|
86693f |
-Forces curl to use TLS version 1 when negotiating with a remote TLS server.
|
|
|
86693f |
+Forces curl to use TLS version 1.x when negotiating with a remote TLS server.
|
|
|
86693f |
+You can use options \fI--tlsv1.0\fP, \fI--tlsv1.1\fP, and \fI--tlsv1.2\fP to
|
|
|
86693f |
+control the TLS version more precisely (if the SSL backend in use supports such
|
|
|
86693f |
+a level of control).
|
|
|
86693f |
.IP "-2, --sslv2"
|
|
|
86693f |
(SSL)
|
|
|
86693f |
Forces curl to use SSL version 2 when negotiating with a remote SSL server.
|
|
|
86693f |
--
|
|
|
86693f |
1.7.1
|
|
|
86693f |
|