From c3e5042a6627ba57245bcaefe91ff229df40cb31 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Thu, 1 Oct 2015 13:27:10 +0900 Subject: Add default cipher list for TV Change-Id: Ibe293221f37388b85aed58ec40793baac2cccd14 Signed-off-by: Seonah Moon --- lib/vtls/openssl.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/vtls/openssl.h b/lib/vtls/openssl.h index ee18e710f..4739b2619 100644 --- a/lib/vtls/openssl.h +++ b/lib/vtls/openssl.h @@ -116,8 +116,21 @@ bool Curl_ossl_cert_status_request(void); #endif #define curlssl_cert_status_request() Curl_ossl_cert_status_request() +#if defined TIZEN_TV_EXT +#define DEFAULT_CIPHER_SELECTION \ +"ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:" \ +"DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:ECDH-RSA-AES256-SHA:" \ +"ECDH-ECDSA-AES256-SHA:AES256-SHA:ECDHE-RSA-AES128-GCM-SHA256:" \ +"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:" \ +"DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:" \ +"AES128-GCM-SHA256:AES128-SHA256:AES128-SHA:" \ +"ECDHE-RSA-DES-CBC3-SHA:ECDHE-ECDSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:" \ +"EDH-DSS-DES-CBC3-SHA:ECDH-RSA-DES-CBC3-SHA:ECDH-ECDSA-DES-CBC3-SHA:" \ +"DES-CBC3-SHA:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA" +#else #define DEFAULT_CIPHER_SELECTION \ "ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH" +#endif #endif /* USE_OPENSSL */ #endif /* HEADER_CURL_SSLUSE_H */ -- cgit v1.2.3