summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorPatricia Muscalu <patricia@axis.com>2013-01-18 14:55:40 +0100
committerTim-Philipp Müller <tim@centricular.net>2013-01-22 10:55:14 +0000
commit4202eeff7d4f424ee756918fbb9fadf3ce78d5b7 (patch)
tree314b9d34719ccdacfb8100d23ec35d0fadce09ff /ext/curl
parent93fbcfda238fc992793602b582824af2edd48bfb (diff)
downloadgstreamer-plugins-bad-4202eeff7d4f424ee756918fbb9fadf3ce78d5b7.tar.gz
curltlssink: set correct level of SSL for the transfer
https://bugzilla.gnome.org/show_bug.cgi?id=692010
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/gstcurltlssink.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/curl/gstcurltlssink.c b/ext/curl/gstcurltlssink.c
index 146678c3b..a979d1327 100644
--- a/ext/curl/gstcurltlssink.c
+++ b/ext/curl/gstcurltlssink.c
@@ -236,9 +236,8 @@ gst_curl_tls_sink_set_options_unlocked (GstCurlBaseSink * bcsink)
{
GstCurlTlsSink *sink = GST_CURL_TLS_SINK (bcsink);
- if (!g_str_has_prefix (bcsink->url, "http")) {
- curl_easy_setopt (bcsink->curl, CURLOPT_USE_SSL, 1L);
- }
+ if (!g_str_has_prefix (bcsink->url, "http"))
+ curl_easy_setopt (bcsink->curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
/* crypto engine */
if ((g_strcmp0 (sink->crypto_engine, "auto") == 0) ||