aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-09-11 22:23:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-09-11 22:23:16 +0000
commita2c78607a6f195eac8b9ecadb9a94d94f92bc5bd (patch)
treec3a5a909b4872805cc4f821f71b6826d256f620b
parentcc1a4edf3df3d5bdbcf73120140bb7da98ca2484 (diff)
CURLOPT_SSL_CIPHER_LIST support
-rw-r--r--lib/url.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 42a531271..4a7c57ff9 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -289,6 +289,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
va_start(param, option);
switch(option) {
+ case CURLOPT_SSL_CIPHER_LIST:
+ /* set a list of cipher we want to use in the SSL connection */
+ data->set.ssl.cipher_list = va_arg(param, char *);
+ break;
+
case CURLOPT_RANDOM_FILE:
/*
* This is the path name to a file that contains random data to seed