aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorSvyatoslav Mishyn <juef@openmailbox.org>2015-09-06 19:42:33 +0300
committerDaniel Stenberg <daniel@haxx.se>2015-09-06 23:12:17 +0200
commit664398e43bde95c7a3bd657006a5661b41884229 (patch)
tree070d0c3101fa1d6a22ec95e1bb47ed0d69728180 /docs/libcurl
parent3a4f42dd0c4310719d4185391718acf5f53383c0 (diff)
CURLOPT_TLSAUTH_TYPE.3: update description
Closes #414 Closes #413
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.310
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.3 b/docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.3
index b5cdd5bc3..01e93afd4 100644
--- a/docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.3
+++ b/docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.3
@@ -26,19 +26,19 @@ CURLOPT_TLSAUTH_TYPE \- set TLS authentication methods
.SH SYNOPSIS
#include <curl/curl.h>
-CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TLSAUTH_TYPE, long bitmask);
+CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TLSAUTH_TYPE, char *type);
.SH DESCRIPTION
-Pass a long as parameter, which is set to a bitmask, to tell libcurl which
-authentication method(s) you want it to use for TLS authentication.
+Pass a pointer to a zero terminated string as parameter. The string
+should be the method of the TLS authentication. Supported method is "SRP".
-.IP CURL_TLSAUTH_SRP
+.IP SRP
TLS-SRP authentication. Secure Remote Password authentication for TLS is
defined in RFC5054 and provides mutual authentication if both sides have a
shared secret. To use TLS-SRP, you must also set the
\fICURLOPT_TLSAUTH_USERNAME(3)\fP and \fICURLOPT_TLSAUTH_PASSWORD(3)\fP
options.
.SH DEFAULT
-CURL_TLSAUTH_NONE (0)
+blank
.SH PROTOCOLS
All TLS-based protocols
.SH EXAMPLE