aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/curl/curl.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 1075b6e4f..3a815ad55 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -298,7 +298,7 @@ typedef enum {
CINIT(COOKIEFILE, OBJECTPOINT, 31),
/* What version to specifly try to use.
- 3 = SSLv3, 2 = SSLv2, all else makes it try v3 first then v2 */
+ See CURL_SSLVERSION defines below. */
CINIT(SSLVERSION, LONG, 32),
/* What kind of HTTP time condition to use, see defines */
@@ -480,6 +480,15 @@ enum {
CURL_HTTP_VERSION_LAST /* *ILLEGAL* http version */
};
+enum {
+ CURL_SSLVERSION_DEFAULT,
+ CURL_SSLVERSION_TLSv1,
+ CURL_SSLVERSION_SSLv2,
+ CURL_SSLVERSION_SSLv3,
+
+ CURL_SSLVERSION_LAST /* never use, keep last */
+};
+
typedef enum {
TIMECOND_NONE,