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