From: Daniel Stenberg Date: Tue, 11 Sep 2001 22:23:16 +0000 (+0000) Subject: CURLOPT_SSL_CIPHER_LIST support X-Git-Tag: curl-7_9~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2c78607a6f195eac8b9ecadb9a94d94f92bc5bd;p=thirdparty%2Fcurl.git CURLOPT_SSL_CIPHER_LIST support --- diff --git a/lib/url.c b/lib/url.c index 42a5312717..4a7c57ff95 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