aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-08 07:15:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-08 07:15:00 +0000
commitdcfb10fb31ccc93a6affab36c1910201ea5275d9 (patch)
tree4b3ea376e4eec6b4346dd0bb7f5e3b956f5688ed /include
parent0553ab8181cc375d871d63306ba8935989b8fde1 (diff)
Patrick Bihan-Faou's verifyhost addition
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 39317312c..ae7573955 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -448,6 +448,11 @@ typedef enum {
*/
CINIT(HTTPGET, LONG, 80),
+ /* Set if we should verify the Common name from the peer certificate in ssl
+ * handshake, set 1 to check existence, 2 to ensure that it matches the
+ * provided hostname. */
+ CINIT(SSL_VERIFYHOST, LONG, 81),
+
CURLOPT_LASTENTRY /* the last unusued */
} CURLoption;