aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-09-17 08:50:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-09-17 08:54:32 +0200
commit65ca3b083c70df9430e816aab874ffa968726494 (patch)
treed2c098759f082cc5eb509cc5b8aa1aecfa9798f1 /docs
parent82e3e8e31fbdd237e82233d137fd1bbb730f13f5 (diff)
CURLOPT_PINNEDPUBLICKEY.3: mention error code
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.34
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.3 b/docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.3
index 14c44daf5..9f8224af7 100644
--- a/docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.3
+++ b/docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -37,6 +37,8 @@ When negotiating a TLS or SSL connection, the server sends a certificate
indicating its identity. A public key is extracted from this certificate and
if it does not exactly match the public key provided to this option, curl will
abort the connection before sending or receiving any data.
+
+On mismatch, \fICURLE_SSL_PINNEDPUBKEYNOTMATCH\fP is returned.
.SH DEFAULT
NULL
.SH PROTOCOLS