CURLOPT_SSL_CIPHER_LIST support
authorDaniel Stenberg <daniel@haxx.se>
Tue, 11 Sep 2001 22:23:16 +0000 (22:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Sep 2001 22:23:16 +0000 (22:23 +0000)
lib/url.c

index 42a5312..4a7c57f 100644 (file)
--- 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