curl-library
Changing cipher list preference is not working with option CURLOPT_SSL_CIPHER_LIST
From: <vidyanand.nille_at_gmail.com>
Date: Tue, 25 Mar 2014 10:51:12 +0530
curl_easy_setopt(handle->easyhandle, CURLOPT_SSL_CIPHER_LIST, "AES128-SHA:+RC4-SHA:+DHE-RSA-AES128-SHA:-RC4-MD5:-EXP-RC4-MD5");
Date: Tue, 25 Mar 2014 10:51:12 +0530
Hi,
I have tried changing cipher preferences with CURLOPT_SSL_CIPHER_LIST option but it seems it's not working.
Following is the code I have used in my application :
curl_easy_setopt(handle->easyhandle, CURLOPT_SSL_CIPHER_LIST, "AES128-SHA:+RC4-SHA:+DHE-RSA-AES128-SHA:-RC4-MD5:-EXP-RC4-MD5");
Here I wanted to remove TLS_RSA_WITH_RC4_128_MD5 (0x0004) cipher but even after using above mentioned call still RC4-MD5 is being sent from client in client hello message.
I have even tried with using ! before cipher string still same issue.
Is there something I am missing here??
Regards,
Vidyanand
Sent from my BlackBerry 10 smartphone.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-25