mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
curltlssink: set correct level of SSL for the transfer
https://bugzilla.gnome.org/show_bug.cgi?id=692010
This commit is contained in:
parent
93fbcfda23
commit
4202eeff7d
1 changed files with 2 additions and 3 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue